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

Issue 15376006: Added window.internals.isColorChooserShown() (Closed)

Created:
7 years, 7 months ago by Hajime Morrita
Modified:
7 years, 7 months ago
CC:
blink-reviews, jamesr, eae+blinkwatch, adamk+blink_chromium.org, jochen+watch_chromium.org, keishi
Visibility:
Public.

Description

Added window.internals.isColorChooserShown() This change adds internals.isColorChooserShown() and a mock ColorChooser implementation for TestRunner. Without the mock, color pickers aren't recognized as closed. This is a preparation for crbug.com/234810. BUG=234810 TEST=input-color-chooser-shown.html

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -35 lines) Patch
A LayoutTests/fast/forms/color/input-color-chooser-shown.html View 1 chunk +37 lines, -0 lines 2 comments Download
A LayoutTests/fast/forms/color/input-color-chooser-shown-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/html/ColorInputType.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLInputElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 chunk +7 lines, -0 lines 2 comments Download
M Source/core/testing/Internals.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 chunk +1 line, -0 lines 2 comments Download
M Tools/DumpRenderTree/DumpRenderTree.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h View 2 chunks +3 lines, -0 lines 0 comments Download
A + Tools/DumpRenderTree/chromium/TestRunner/src/ColorChooser.h View 2 chunks +15 lines, -16 lines 2 comments Download
A + Tools/DumpRenderTree/chromium/TestRunner/src/ColorChooser.cpp View 1 chunk +36 lines, -19 lines 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp View 2 chunks +7 lines, -0 lines 0 comments Download
M Tools/DumpRenderTree/chromium/WebViewHost.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Tools/DumpRenderTree/chromium/WebViewHost.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Hajime Morrita
Hi, could you take a look? This change is just adding an internals API for ...
7 years, 7 months ago (2013-05-21 04:57:21 UTC) #1
tkent
7 years, 7 months ago (2013-05-21 04:59:19 UTC) #2
tkent
https://codereview.chromium.org/15376006/diff/1/LayoutTests/fast/forms/color/input-color-chooser-shown.html File LayoutTests/fast/forms/color/input-color-chooser-shown.html (right): https://codereview.chromium.org/15376006/diff/1/LayoutTests/fast/forms/color/input-color-chooser-shown.html#newcode14 LayoutTests/fast/forms/color/input-color-chooser-shown.html:14: eventSender.mouseMoveTo(target.offsetLeft, target.offsetTop + target.offsetHeight / 2); You can include ...
7 years, 7 months ago (2013-05-21 05:20:43 UTC) #3
keishi
https://codereview.chromium.org/15376006/diff/1/Source/core/html/HTMLInputElement.cpp File Source/core/html/HTMLInputElement.cpp (right): https://codereview.chromium.org/15376006/diff/1/Source/core/html/HTMLInputElement.cpp#newcode1493 Source/core/html/HTMLInputElement.cpp:1493: if (!m_inputType->isColorControl()) We decided not to branch depending on ...
7 years, 7 months ago (2013-05-21 05:20:54 UTC) #4
Hajime Morrita
Thanks for the review! An update will come soon! https://codereview.chromium.org/15376006/diff/1/LayoutTests/fast/forms/color/input-color-chooser-shown.html File LayoutTests/fast/forms/color/input-color-chooser-shown.html (right): https://codereview.chromium.org/15376006/diff/1/LayoutTests/fast/forms/color/input-color-chooser-shown.html#newcode14 LayoutTests/fast/forms/color/input-color-chooser-shown.html:14: ...
7 years, 7 months ago (2013-05-21 06:11:23 UTC) #5
Hajime Morrita
7 years, 7 months ago (2013-05-21 06:24:57 UTC) #6
Uh, my update made new issue for some reason :-(
https://codereview.chromium.org/15535005
Could you take this new one? I'll close this...

Powered by Google App Engine
This is Rietveld 408576698