From 14ee0400b86c4fa229cdfc1060f07c601d165b34 Mon Sep 17 00:00:00 2001 From: "amit@chromium.org" Date: Fri, 22 Apr 2011 21:47:25 +0000 Subject: 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 --- views/widget/widget.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'views/widget/widget.cc') 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: -- cgit v1.1