Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed)

Created:
7 years, 7 months ago by riju_
Modified:
7 years, 7 months ago
Reviewers:
tkent, keishi
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove the compile time flag for DATALIST Element. This is part of work for cleaning up #ifdefs from Blink source to reduce complexity. DATALIST Element is always Enabled on the chromium side. A separate patch ( https://codereview.chromium.org/14861002) will disable them on Android platform. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150903

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add <datalist> display:none rule in RenderTheme::extraDefaultStyleSheet depending on the runtime fl… #

Total comments: 10

Patch Set 3 : incorporate tkent's comments #

Total comments: 9

Patch Set 4 : tkent's comments (Part 2) #

Total comments: 2

Patch Set 5 : tkent's comments (Part 3) #

Total comments: 1

Patch Set 6 : remove unnecessary runtime flag check #

Total comments: 1

Patch Set 7 : rebasing after r150849 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -185 lines) Patch
M LayoutTests/fast/dom/wrapper-classes.html View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/WebKit/chromium/public/WebRuntimeFeatures.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/WebKit/chromium/src/WebInputElement.cpp View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M Source/WebKit/chromium/src/WebRuntimeFeatures.cpp View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/css/html.css View 1 2 2 chunks +0 lines, -25 lines 0 comments Download
M Source/core/features.gypi View 1 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp View 1 2 3 4 5 6 4 chunks +10 lines, -13 lines 0 comments Download
M Source/core/html/ColorInputType.cpp View 1 2 3 2 chunks +16 lines, -16 lines 0 comments Download
M Source/core/html/HTMLDataListElement.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/html/HTMLDataListElement.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/html/HTMLDataListElement.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLInputElement.h View 1 5 chunks +0 lines, -10 lines 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 2 3 4 5 6 16 chunks +12 lines, -35 lines 0 comments Download
M Source/core/html/HTMLInputElement.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLOptionElement.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/html/HTMLOptionElement.cpp View 1 2 3 chunks +2 lines, -10 lines 0 comments Download
M Source/core/html/HTMLTagNames.in View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/InputType.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/html/InputType.cpp View 1 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/html/RangeInputType.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/html/RangeInputType.cpp View 1 2 4 chunks +5 lines, -12 lines 0 comments Download
M Source/core/html/shadow/SliderThumbElement.cpp View 1 4 chunks +0 lines, -4 lines 0 comments Download
M Source/core/page/RuntimeEnabledFeatures.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderTheme.h View 1 2 3 4 5 6 3 chunks +1 line, -3 lines 0 comments Download
M Source/core/rendering/RenderTheme.cpp View 1 2 3 4 5 6 5 chunks +24 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumDefault.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumDefault.cpp View 1 2 3 4 chunks +5 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumMac.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumMac.mm View 1 2 3 4 5 6 3 chunks +0 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumSkia.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumWin.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumWin.cpp View 1 2 3 4 5 6 3 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
riju_
7 years, 7 months ago (2013-05-02 14:56:30 UTC) #1
tkent
https://codereview.chromium.org/14859003/diff/1/Source/core/css/html.css File Source/core/css/html.css (left): https://codereview.chromium.org/14859003/diff/1/Source/core/css/html.css#oldcode491 Source/core/css/html.css:491: #if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT It makes <datalist> display:none even ...
7 years, 7 months ago (2013-05-07 01:14:03 UTC) #2
riju_
On 2013/05/07 01:14:03, tkent wrote: > https://codereview.chromium.org/14859003/diff/1/Source/core/css/html.css > File Source/core/css/html.css (left): > > https://codereview.chromium.org/14859003/diff/1/Source/core/css/html.css#oldcode491 > ...
7 years, 7 months ago (2013-05-20 09:58:53 UTC) #3
riju_
7 years, 7 months ago (2013-05-20 21:26:01 UTC) #4
tkent
We need the runtime flag check in RenderThemeChromiumCommon::supportsDataListUI too. https://codereview.chromium.org/14859003/diff/3001/Source/WebKit/chromium/src/WebInputElement.cpp File Source/WebKit/chromium/src/WebInputElement.cpp (right): https://codereview.chromium.org/14859003/diff/3001/Source/WebKit/chromium/src/WebInputElement.cpp#newcode193 Source/WebKit/chromium/src/WebInputElement.cpp:193: ...
7 years, 7 months ago (2013-05-20 21:32:11 UTC) #5
tkent
On 2013/05/20 21:32:11, tkent wrote: https://codereview.chromium.org/14859003/diff/3001/Source/core/page/RuntimeEnabledFeatures.in#newcode24 > Source/core/page/RuntimeEnabledFeatures.in:24: Datalist status=stable > Please name this DatalistElement. ...
7 years, 7 months ago (2013-05-20 21:33:35 UTC) #6
tkent
7 years, 7 months ago (2013-05-20 21:39:03 UTC) #7
riju_
incorporated tkent's comments
7 years, 7 months ago (2013-05-21 17:45:21 UTC) #8
tkent
https://codereview.chromium.org/14859003/diff/21001/Source/core/html/ColorInputType.cpp File Source/core/html/ColorInputType.cpp (right): https://codereview.chromium.org/14859003/diff/21001/Source/core/html/ColorInputType.cpp#newcode222 Source/core/html/ColorInputType.cpp:222: return element()->fastHasAttribute(listAttr); Needs runtime flag check. https://codereview.chromium.org/14859003/diff/21001/Source/core/html/HTMLDataListElement.idl File Source/core/html/HTMLDataListElement.idl ...
7 years, 7 months ago (2013-05-21 21:05:44 UTC) #9
riju_
patch
7 years, 7 months ago (2013-05-22 00:30:34 UTC) #10
tkent
https://codereview.chromium.org/14859003/diff/45001/Source/core/html/HTMLInputElement.cpp File Source/core/html/HTMLInputElement.cpp (right): https://codereview.chromium.org/14859003/diff/45001/Source/core/html/HTMLInputElement.cpp#newcode693 Source/core/html/HTMLInputElement.cpp:693: } should be "} else if (..." https://codereview.chromium.org/14859003/diff/45001/Source/core/rendering/RenderTheme.cpp File ...
7 years, 7 months ago (2013-05-22 00:40:37 UTC) #11
riju_
7 years, 7 months ago (2013-05-22 01:00:19 UTC) #12
tkent
https://codereview.chromium.org/14859003/diff/53001/Source/core/rendering/RenderTheme.cpp File Source/core/rendering/RenderTheme.cpp (right): https://codereview.chromium.org/14859003/diff/53001/Source/core/rendering/RenderTheme.cpp#newcode460 Source/core/rendering/RenderTheme.cpp:460: static String dataListElementCSS = (RuntimeEnabledFeatures::dataListElementEnabled()) ? ASCIILiteral("datalist {display: none ...
7 years, 7 months ago (2013-05-22 01:09:08 UTC) #13
riju_
7 years, 7 months ago (2013-05-22 01:38:32 UTC) #14
tkent
lgtm with a minor comment https://codereview.chromium.org/14859003/diff/57001/Source/core/rendering/RenderTheme.cpp File Source/core/rendering/RenderTheme.cpp (right): https://codereview.chromium.org/14859003/diff/57001/Source/core/rendering/RenderTheme.cpp#newcode460 Source/core/rendering/RenderTheme.cpp:460: static String dataListElementCSS = ...
7 years, 7 months ago (2013-05-22 01:46:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/14859003/62001
7 years, 7 months ago (2013-05-22 14:18:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/14859003/62001
7 years, 7 months ago (2013-05-22 14:29:20 UTC) #17
commit-bot: I haz the power
7 years, 7 months ago (2013-05-22 15:12:43 UTC) #18
Message was sent while issue was closed.
Change committed as 150903

Powered by Google App Engine
This is Rietveld 408576698