diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 02:44:45 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 02:44:45 +0000 |
commit | 92cdabdebc9082f557265390a017ad6a59df2460 (patch) | |
tree | 2cc1d7824aa77239db6bda870bfc36bf459fb5d1 /views/widget/native_widget_gtk.h | |
parent | 52e211459b22e0ce7d993b53614a5e66b55e9c72 (diff) | |
download | chromium_src-92cdabdebc9082f557265390a017ad6a59df2460.zip chromium_src-92cdabdebc9082f557265390a017ad6a59df2460.tar.gz chromium_src-92cdabdebc9082f557265390a017ad6a59df2460.tar.bz2 |
ClearNativeFocus: Do it from widget, with appropriate native-widget implementation.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7353007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/native_widget_gtk.h')
-rw-r--r-- | views/widget/native_widget_gtk.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/widget/native_widget_gtk.h b/views/widget/native_widget_gtk.h index 3473b33..b346e26 100644 --- a/views/widget/native_widget_gtk.h +++ b/views/widget/native_widget_gtk.h @@ -111,9 +111,6 @@ class NativeWidgetGtk : public internal::NativeWidgetPrivate, // Overridden from ui::ActiveWindowWatcherX::Observer. virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; - // Clears the focus on the native widget having the focus. - virtual void ClearNativeFocus(); - // Handles a keyboard event by sending it to our focus manager. // Returns true if it's handled by the focus manager. bool HandleKeyboardEvent(const KeyEvent& key); @@ -230,6 +227,7 @@ class NativeWidgetGtk : public internal::NativeWidgetPrivate, int operation) OVERRIDE; virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; + virtual void ClearNativeFocus() OVERRIDE; protected: // Modifies event coordinates to the targeted widget contained by this widget. |