Bug 89944 - Enables <input type="color"> for ChromeOS
Summary: Enables <input type="color"> for ChromeOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 90013
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-25 22:36 PDT by Jun Mukai
Modified: 2012-06-26 14:27 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.24 KB, patch)
2012-06-25 22:53 PDT, Jun Mukai
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Mukai 2012-06-25 22:36:34 PDT
http://crrev.com/144111 added the UI of <input type="color"> for ChromeOS, so now we can set ENABLE_INPUT_TYPE_COLOR for ChromeOS too.
Comment 1 Jun Mukai 2012-06-25 22:53:18 PDT
Created attachment 149460 [details]
Patch
Comment 2 Kent Tamura 2012-06-25 23:02:20 PDT
Comment on attachment 149460 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=149460&action=review

> Source/WebKit/chromium/features.gypi:177
> -      ['OS=="android" or chromeos==1', {
> +      ['OS=="android"', {

Did you confirm the following steps?
 1. build with unmodified features.gypi
 2. Modify features.gypi, and run gyp
 3. build again
 4. the build succeeds

I'm afraid this change requires clobber build for every ChromeOS developers.
Comment 3 Jun Mukai 2012-06-26 00:42:05 PDT
I've done what you pointed during my development actually, but repeated just in case, and successfully built the binary with the color chooser UI in step 4.  gyp_chromium and make/ninja catch the change and rebuilt the whole WebKit in step 3.
Comment 4 Kent Tamura 2012-06-26 00:43:39 PDT
Ok, thanks!
Comment 5 WebKit Review Bot 2012-06-26 00:59:23 PDT
Comment on attachment 149460 [details]
Patch

Clearing flags on attachment: 149460

Committed r121237: <http://trac.webkit.org/changeset/121237>
Comment 6 WebKit Review Bot 2012-06-26 00:59:27 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Peter Beverloo 2012-06-26 13:44:28 PDT
Comment on attachment 149460 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=149460&action=review

>> Source/WebKit/chromium/features.gypi:177
>> +      ['OS=="android"', {
> 
> Did you confirm the following steps?
>  1. build with unmodified features.gypi
>  2. Modify features.gypi, and run gyp
>  3. build again
>  4. the build succeeds
> 
> I'm afraid this change requires clobber build for every ChromeOS developers.

This already landed, but a nit nonetheless: there is an OS==android section just above here, it'd have been better to consolidate this define in there. I'll upload a patch to do so.