WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
102525
[Chromium] Remove the dependency of INPUT_TYPE_COLOR on PAGE_POPUP
https://bugs.webkit.org/show_bug.cgi?id=102525
Summary
[Chromium] Remove the dependency of INPUT_TYPE_COLOR on PAGE_POPUP
Miguel Garcia
Reported
2012-11-16 08:54:14 PST
Remove the dependency of INPUT_TYPE_COLOR on PAGE_POPUP
Attachments
Patch
(20.10 KB, patch)
2012-11-16 08:57 PST
,
Miguel Garcia
no flags
Details
Formatted Diff
Diff
Patch
(10.16 KB, patch)
2012-11-19 03:31 PST
,
Miguel Garcia
no flags
Details
Formatted Diff
Diff
Patch
(19.06 KB, patch)
2012-11-19 03:37 PST
,
Miguel Garcia
no flags
Details
Formatted Diff
Diff
Patch
(19.06 KB, patch)
2012-11-19 04:17 PST
,
Miguel Garcia
no flags
Details
Formatted Diff
Diff
Patch
(19.17 KB, patch)
2012-11-19 07:48 PST
,
Miguel Garcia
no flags
Details
Formatted Diff
Diff
Patch
(19.18 KB, patch)
2012-11-19 07:50 PST
,
Miguel Garcia
no flags
Details
Formatted Diff
Diff
Patch
(19.18 KB, patch)
2012-11-19 07:55 PST
,
Miguel Garcia
no flags
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Miguel Garcia
Comment 1
2012-11-16 08:57:25 PST
Created
attachment 174702
[details]
Patch
WebKit Review Bot
Comment 2
2012-11-16 10:52:41 PST
Comment on
attachment 174702
[details]
Patch
Attachment 174702
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/14860341
Miguel Garcia
Comment 3
2012-11-19 03:31:49 PST
Created
attachment 174938
[details]
Patch
WebKit Review Bot
Comment 4
2012-11-19 03:34:39 PST
Comment on
attachment 174938
[details]
Patch
Attachment 174938
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/14911153
Miguel Garcia
Comment 5
2012-11-19 03:37:23 PST
Created
attachment 174939
[details]
Patch
Miguel Garcia
Comment 6
2012-11-19 04:17:47 PST
Created
attachment 174946
[details]
Patch
Miguel Garcia
Comment 7
2012-11-19 04:21:39 PST
Adding a few folks from the discussion on
https://bugs.webkit.org/show_bug.cgi?id=102404
Kent Tamura
Comment 8
2012-11-19 06:23:01 PST
Comment on
attachment 174946
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174946&action=review
> Source/WebKit/chromium/src/ChromeClientImpl.cpp:41 > +#if ENABLE(PAGE_POPUP) > +#include "ColorChooserPopupUIController.h"
nit: I prefer NOT wrapping a header inclusion with #if-#endif. Other reviewers might have a different preference.
> Source/WebKit/chromium/src/ChromeClientImpl.cpp:692 > + ColorChooserUIController* controller; > +#if ENABLE(PAGE_POPUP) > + controller = new ColorChooserPopupUIController(this, chooserClient); > +#else > + controller = new ColorChooserUIController(this, chooserClient);
Do not use a raw pointer here. OwnPtr<ColorChooserUIController> controller; controller = adoptPtr(new ...); controller->openUI(); return controller.release();
> Source/WebKit/chromium/src/ColorChooserPopupUIController.cpp:30 > +
nit: blank line is not needed.
> Source/WebKit/chromium/src/ColorChooserPopupUIController.cpp:40 > +
ditto.
> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:29 > +
ditto.
> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:32 > +
ditto.
> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:41 > +namespace WebKit { > +class ColorChooserPopupUIController : public ColorChooserUIController, public WebCore::PagePopupClient {
nit: add a blank line before "class"
> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:63 > + void closePopup(); > + ChromeClientImpl* m_chromeClient;
nit: add a blank line between functions and data members.
> Source/WebKit/chromium/src/ColorChooserUIController.h:63 > + OwnPtr<WebColorChooser> m_chooser; > +private:
nit: add a blank line before "private:".
Miguel Garcia
Comment 9
2012-11-19 07:48:12 PST
Created
attachment 174982
[details]
Patch
Miguel Garcia
Comment 10
2012-11-19 07:50:50 PST
Created
attachment 174983
[details]
Patch
Miguel Garcia
Comment 11
2012-11-19 07:54:42 PST
Comment on
attachment 174946
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174946&action=review
>> Source/WebKit/chromium/src/ChromeClientImpl.cpp:41 >> +#include "ColorChooserPopupUIController.h" > > nit: I prefer NOT wrapping a header inclusion with #if-#endif. Other reviewers might have a different preference.
I'd rather leave it as is if you are ok since this file already has #if - #endif for other headers.
>> Source/WebKit/chromium/src/ChromeClientImpl.cpp:692 >> + controller = new ColorChooserUIController(this, chooserClient); > > Do not use a raw pointer here. > > OwnPtr<ColorChooserUIController> controller; > controller = adoptPtr(new ...); > controller->openUI(); > return controller.release();
Done
>> Source/WebKit/chromium/src/ColorChooserPopupUIController.cpp:30 >> + > > nit: blank line is not needed.
Done
>> Source/WebKit/chromium/src/ColorChooserPopupUIController.cpp:40 >> + > > ditto.
Done
>> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:29 >> + > > ditto.
Done
>> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:32 >> + > > ditto.
Done
>> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:41 >> +class ColorChooserPopupUIController : public ColorChooserUIController, public WebCore::PagePopupClient { > > nit: add a blank line before "class"
Done
>> Source/WebKit/chromium/src/ColorChooserPopupUIController.h:63 >> + ChromeClientImpl* m_chromeClient; > > nit: add a blank line between functions and data members.
Done
>> Source/WebKit/chromium/src/ColorChooserUIController.h:63 >> +private: > > nit: add a blank line before "private:".
Done
Miguel Garcia
Comment 12
2012-11-19 07:55:23 PST
Created
attachment 174986
[details]
Patch
Miguel Garcia
Comment 13
2012-11-19 08:07:01 PST
Thanks for the review Kent! I addressed your comments I think it's ready for another look.
Kent Tamura
Comment 14
2012-11-19 14:04:41 PST
Comment on
attachment 174986
[details]
Patch ok
WebKit Review Bot
Comment 15
2012-11-19 14:23:13 PST
Comment on
attachment 174986
[details]
Patch Clearing flags on attachment: 174986 Committed
r135197
: <
http://trac.webkit.org/changeset/135197
>
WebKit Review Bot
Comment 16
2012-11-19 14:23:17 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug