summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.h
diff options
context:
space:
mode:
authoroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 08:03:30 +0000
committeroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 08:03:30 +0000
commit5c320965fef19421538290eb27ea1819a2a04b87 (patch)
treed401109162be9ead524ef4bad37747f0884665cb /views/widget/widget.h
parent7606b72dae9664f9da19f8f39e3d6f9c86a4092c (diff)
downloadchromium_src-5c320965fef19421538290eb27ea1819a2a04b87.zip
chromium_src-5c320965fef19421538290eb27ea1819a2a04b87.tar.gz
chromium_src-5c320965fef19421538290eb27ea1819a2a04b87.tar.bz2
Clean up FocusManager
Use Widget API to get FocusManager for native_view/window. Move FocusNatieView to native widget impl. This is necessary for NativeWidgetX BUG=none TEST=none Review URL: http://codereview.chromium.org/7351008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r--views/widget/widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h
index af9a899..aea6ff9 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -437,6 +437,9 @@ class Widget : public internal::NativeWidgetDelegate,
// Clear native focus set to the Widget's NativeWidget.
void ClearNativeFocus();
+ // Sets the focus to |native_view|.
+ void FocusNativeView(gfx::NativeView native_view);
+
// Updates the frame after an event caused it to be changed.
virtual void UpdateFrameAfterFrameChange();