summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.cc
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-22 21:47:25 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-22 21:47:25 +0000
commit14ee0400b86c4fa229cdfc1060f07c601d165b34 (patch)
tree3055f4cf768559051879704dfe26397ff3ac39c6 /views/widget/widget.cc
parent17c77567d7bf126acf0f490e8150f7c570f2cc61 (diff)
downloadchromium_src-14ee0400b86c4fa229cdfc1060f07c601d165b34.zip
chromium_src-14ee0400b86c4fa229cdfc1060f07c601d165b34.tar.gz
chromium_src-14ee0400b86c4fa229cdfc1060f07c601d165b34.tar.bz2
Reverting since caused compile failures on Linux.
Revert 82713 - 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=72040TEST=Key event handling in win/linux_views/touch; extension input API SendKeyboardEventInputFunction use.Review URL: http://codereview.chromium.org/6823055 TBR=msw@chromium.org Review URL: http://codereview.chromium.org/6894035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82718 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget.cc')
-rw-r--r--views/widget/widget.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/views/widget/widget.cc b/views/widget/widget.cc
index aeaebad8..924c448 100644
--- a/views/widget/widget.cc
+++ b/views/widget/widget.cc
@@ -320,10 +320,6 @@ void Widget::OnNativeWidgetPaint(gfx::Canvas* canvas) {
RefreshCompositeTree();
}
-bool Widget::OnKeyEvent(const KeyEvent& event) {
- return GetRootView()->OnKeyEvent(event);
-}
-
bool Widget::OnMouseEvent(const MouseEvent& event) {
switch (event.type()) {
case ui::ET_MOUSE_PRESSED: