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

Issue 8907029: AURA/X11: Handle VKEY_MENU accelerator on content area (Closed)

Created:
9 years ago by oshima
Modified:
8 years, 11 months ago
CC:
chromium-reviews, tfarina, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

AURA/X11: Handle VKEY_MENU accelerator on content area -Moved the code to handle vkey_menu to focus manager. -Unify the code between win/aura/gtk to handle unhandled web keyevent. We were using different code path for unhandled web keyboard for regular page and login. This should fix this issue also. -Improved focus test not to use fixed wait. This should also speedup the test a bit. -Removed OmniboxViewViews tests that runs only on views/gtk. This is no longer supported and we can re-enable for win when ready. BUG=99861, 106998, 108480, 108459 TEST=manual: set focus to content area and hit alt key. the focus should be set to wrench menu on release. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116541

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Total comments: 1

Patch Set 4 : use copied os_event #

Patch Set 5 : linux flaky? #

Patch Set 6 : ignore char event in unhandled_keyboard_event_handler #

Patch Set 7 : ignore char event in unhandled_keyboard_event_handler #

Patch Set 8 : comment #

Patch Set 9 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -308 lines) Patch
M chrome/browser/browser_focus_uitest.cc View 1 2 3 4 5 6 7 8 6 chunks +30 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/login/html_page_screen.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/html_page_screen.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/registration_screen.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/registration_screen.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -76 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -6 lines 0 comments Download
D chrome/browser/ui/views/handle_web_keyboard_event.h View 1 chunk +0 lines, -18 lines 0 comments Download
D chrome/browser/ui/views/handle_web_keyboard_event_aura.cc View 1 chunk +0 lines, -13 lines 0 comments Download
D chrome/browser/ui/views/handle_web_keyboard_event_gtk.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/unhandled_keyboard_event_handler.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/unhandled_keyboard_event_handler.cc View 1 chunk +0 lines, -58 lines 0 comments Download
A chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/unhandled_keyboard_event_handler_gtk.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
A + chrome/browser/ui/views/unhandled_keyboard_event_handler_win.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 6 chunks +8 lines, -9 lines 0 comments Download
M ui/views/focus/focus_manager.h View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M ui/views/focus/focus_manager.cc View 1 2 3 4 5 6 7 8 6 chunks +62 lines, -1 line 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -41 lines 0 comments Download
M ui/views/widget/native_widget_gtk.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M ui/views/widget/native_widget_gtk.cc View 1 2 3 4 5 6 7 8 5 chunks +12 lines, -39 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
oshima
http://codereview.chromium.org/8907029/diff/25022/chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc File chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc (right): http://codereview.chromium.org/8907029/diff/25022/chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc#newcode71 chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc:71: // use |KeyEvent(const NativeEvent)| constructor. I'm working on NativeWebKeyboard ...
9 years ago (2011-12-16 00:34:36 UTC) #1
oshima
On 2011/12/16 00:34:36, oshima wrote: > http://codereview.chromium.org/8907029/diff/25022/chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc > File chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc > (right): > > http://codereview.chromium.org/8907029/diff/25022/chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc#newcode71 ...
9 years ago (2011-12-16 19:52:25 UTC) #2
oshima
Please hold. TabMoveCursorToEnd failure seems to be real and I'm investigating. On 2011/12/16 19:52:25, oshima ...
9 years ago (2011-12-17 00:08:44 UTC) #3
oshima
Fixed the issue, so please take another look. OmniboxViewViews on linux/gtk was failing but since ...
9 years ago (2011-12-22 21:43:44 UTC) #4
Ben Goodger (Google)
lgtm
9 years ago (2011-12-22 23:11:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/8907029/40002
9 years ago (2011-12-23 00:03:10 UTC) #6
commit-bot: I haz the power
Can't process patch for file chrome/chrome_browser.gypi. File's status is None, patchset upload is incomplete.
9 years ago (2011-12-23 00:03:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/8907029/45025
8 years, 11 months ago (2012-01-05 17:26:46 UTC) #8
commit-bot: I haz the power
Presubmit check for 8907029-45025 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-05 17:27:04 UTC) #9
sky
ui/omnibox LGTM
8 years, 11 months ago (2012-01-05 18:55:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/8907029/45025
8 years, 11 months ago (2012-01-05 18:56:36 UTC) #11
commit-bot: I haz the power
8 years, 11 months ago (2012-01-05 20:43:43 UTC) #12
Change committed as 116541

Powered by Google App Engine
This is Rietveld 408576698