diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 02:37:52 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 02:37:52 +0000 |
commit | 331fdb258d70ff5d78b08006a8506691cca65432 (patch) | |
tree | 32cc4f80237c5e6492a01e938243aa6413f87baa /views/widget/root_view.cc | |
parent | 2f60f4aaaf70bbb5ee35a42ee216eed74e2ad3c2 (diff) | |
download | chromium_src-331fdb258d70ff5d78b08006a8506691cca65432.zip chromium_src-331fdb258d70ff5d78b08006a8506691cca65432.tar.gz chromium_src-331fdb258d70ff5d78b08006a8506691cca65432.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.
Rename WidgetGtk::OnEventKey to avoid overloading Widget::OnEventKey.
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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82751
Review URL: http://codereview.chromium.org/6823055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/root_view.cc')
-rw-r--r-- | views/widget/root_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc index 323612e..f69c6a4 100644 --- a/views/widget/root_view.cc +++ b/views/widget/root_view.cc @@ -82,7 +82,7 @@ void RootView::NotifyNativeViewHierarchyChanged(bool attached, // Input ----------------------------------------------------------------------- -bool RootView::ProcessKeyEvent(const KeyEvent& event) { +bool RootView::OnKeyEvent(const KeyEvent& event) { bool consumed = false; View* v = GetFocusManager()->GetFocusedView(); |