RESOLVED FIXED 98754
F4 key should open the picker popup on Windows
https://bugs.webkit.org/show_bug.cgi?id=98754
Summary F4 key should open the picker popup on Windows
Keishi Hattori
Reported 2012-10-09 05:37:58 PDT
F4 key should open the picker popup on Windows
Attachments
Patch (16.15 KB, patch)
2012-10-09 07:30 PDT, Keishi Hattori
no flags
removed extra { (16.15 KB, patch)
2012-10-09 19:22 PDT, Keishi Hattori
no flags
Patch (20.02 KB, patch)
2012-10-09 22:15 PDT, Keishi Hattori
no flags
Patch (20.15 KB, patch)
2012-10-11 05:53 PDT, Keishi Hattori
no flags
Keishi Hattori
Comment 1 2012-10-09 07:30:46 PDT
WebKit Review Bot
Comment 2 2012-10-09 08:22:59 PDT
Comment on attachment 167751 [details] Patch Attachment 167751 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14214770 New failing tests: fast/forms/date/calendar-picker-key-operations.html platform/chromium/fast/forms/date/date-suggestion-picker-key-operations.html platform/chromium/fast/forms/time/time-suggestion-picker-key-operations.html
Keishi Hattori
Comment 3 2012-10-09 19:22:39 PDT
Created attachment 167894 [details] removed extra {
Kent Tamura
Comment 4 2012-10-09 20:11:29 PDT
Comment on attachment 167894 [details] removed extra { View in context: https://bugs.webkit.org/attachment.cgi?id=167894&action=review > Source/WebCore/html/BaseMultipleFieldsDateAndTimeInputType.cpp:197 > + } else if (m_pickerIndicatorIsVisible && event->keyIdentifier() == "Down" && event->getModifierState("Alt")) { > m_pickerIndicatorElement->openPopup(); Should we check nullness of m_pickerIndicatorElement here too? > Source/WebCore/rendering/RenderThemeChromiumWin.cpp:814 > + return true; We apply the same key bindings to Chromium-Windows and Chromium-Linux. Please add this function to RenderThemeChromiumLinux too.
Keishi Hattori
Comment 5 2012-10-09 22:15:33 PDT
Kent Tamura
Comment 6 2012-10-09 22:36:31 PDT
Comment on attachment 167922 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167922&action=review > Source/WebCore/ChangeLog:27 > + * html/BaseMultipleFieldsDateAndTimeInputType.cpp: > + (WebCore::BaseMultipleFieldsDateAndTimeInputType::handleKeydownEvent): > + * rendering/RenderTheme.cpp: > + (WebCore::RenderTheme::shouldOpenPickerWithF4Key): > + (WebCore): > + * rendering/RenderTheme.h: > + (RenderTheme): > + * rendering/RenderThemeChromiumLinux.cpp: > + (WebCore::RenderThemeChromiumLinux::shouldOpenPickerWithF4Key): Returns true if we want to enable the F4 key binding on this platform. > + (WebCore): > + * rendering/RenderThemeChromiumLinux.h: > + * rendering/RenderThemeChromiumWin.cpp: > + (WebCore): > + (WebCore::RenderThemeChromiumWin::shouldOpenPickerWithF4Key): > + * rendering/RenderThemeChromiumWin.h: > + (RenderThemeChromiumWin): Please write per-file / per-function comments as possible
Keishi Hattori
Comment 7 2012-10-11 05:53:10 PDT
WebKit Review Bot
Comment 8 2012-10-11 07:04:07 PDT
Comment on attachment 168203 [details] Patch Clearing flags on attachment: 168203 Committed r131054: <http://trac.webkit.org/changeset/131054>
WebKit Review Bot
Comment 9 2012-10-11 07:04:12 PDT
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.