summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_input_api.h
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-26 02:37:52 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-26 02:37:52 +0000
commit331fdb258d70ff5d78b08006a8506691cca65432 (patch)
tree32cc4f80237c5e6492a01e938243aa6413f87baa /chrome/browser/extensions/extension_input_api.h
parent2f60f4aaaf70bbb5ee35a42ee216eed74e2ad3c2 (diff)
downloadchromium_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 'chrome/browser/extensions/extension_input_api.h')
-rw-r--r--chrome/browser/extensions/extension_input_api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_input_api.h b/chrome/browser/extensions/extension_input_api.h
index 3000211..39a8161 100644
--- a/chrome/browser/extensions/extension_input_api.h
+++ b/chrome/browser/extensions/extension_input_api.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,7 +9,7 @@
#include "chrome/browser/extensions/extension_function.h"
namespace views {
- class RootView;
+class Widget;
} // namespace views
// Base class for input APIs.
@@ -30,7 +30,7 @@ class SendKeyboardEventInputFunction : public InputFunction {
DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.sendKeyboardEvent");
private:
- views::RootView* GetRootView();
+ views::Widget* GetTopLevelWidget();
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_