summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_win.h
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-22 23:42:31 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-22 23:42:31 +0000
commit6b98e52b28fa37b71d4dd80556e936277a85dbc6 (patch)
tree51ba108da81657563670b942dee4c5de315ffd5e /views/widget/widget_win.h
parent988ace29e4f1990cf22f7d9781049e0b14d3d5cd (diff)
downloadchromium_src-6b98e52b28fa37b71d4dd80556e936277a85dbc6.zip
chromium_src-6b98e52b28fa37b71d4dd80556e936277a85dbc6.tar.gz
chromium_src-6b98e52b28fa37b71d4dd80556e936277a85dbc6.tar.bz2
Revert 82751 - 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.Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82713Review URL: http://codereview.chromium.org/6823055
TBR=msw@chromium.org Review URL: http://codereview.chromium.org/6897033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_win.h')
-rw-r--r--views/widget/widget_win.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h
index 5f92a1f..6e795de 100644
--- a/views/widget/widget_win.h
+++ b/views/widget/widget_win.h
@@ -419,6 +419,10 @@ class WidgetWin : public ui::WindowImpl,
// first ancestor that is a Window.
static Window* GetWindowImpl(HWND hwnd);
+ // Returns the RootView that contains the focused view, or NULL if there is no
+ // focused view.
+ RootView* GetFocusedViewRootView();
+
// Called after the WM_ACTIVATE message has been processed by the default
// windows procedure.
static void PostProcessActivateMessage(WidgetWin* widget,