diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-22 23:33:30 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-22 23:33:30 +0000 |
commit | 988ace29e4f1990cf22f7d9781049e0b14d3d5cd (patch) | |
tree | 24ed6ac562ae60944980dd45ea1394a0f5b01902 /views/widget/root_view.h | |
parent | 4776115ccf7fff738be23e7638248209ba00417c (diff) | |
download | chromium_src-988ace29e4f1990cf22f7d9781049e0b14d3d5cd.zip chromium_src-988ace29e4f1990cf22f7d9781049e0b14d3d5cd.tar.gz chromium_src-988ace29e4f1990cf22f7d9781049e0b14d3d5cd.tar.bz2 |
Add NativeWidgetDelegate/Widget::OnKeyEvent post-IME handling.
Refactor XEvent code and InputMethodGtk::DispatchKeyEvent.
Nix WidgetWin::GetFocusedViewRootView, rename RootView::OnKeyEvent.
Cleanup headers and refactor code in extension_input_api.cc.
BUG=72040
TEST=Key event handling in win/linux_views/touch; extension input API SendKeyboardEventInputFunction use.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82713
Review URL: http://codereview.chromium.org/6823055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/root_view.h')
-rw-r--r-- | views/widget/root_view.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/widget/root_view.h b/views/widget/root_view.h index 3465312..11541d2 100644 --- a/views/widget/root_view.h +++ b/views/widget/root_view.h @@ -61,8 +61,8 @@ class RootView : public View, // Process a key event. Send the event to the focused view and up the focus // path, and finally to the default keyboard handler, until someone consumes - // it. Returns whether anyone consumed the event. - bool ProcessKeyEvent(const KeyEvent& event); + // it. Returns whether anyone consumed the event. + bool OnKeyEvent(const KeyEvent& event); #if defined(TOUCH_UI) && defined(UNIT_TEST) // For unit testing purposes, we use this method to set a mock |