summaryrefslogtreecommitdiffstats
path: root/views/focus/focus_manager.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/focus/focus_manager.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/focus/focus_manager.h')
-rw-r--r--views/focus/focus_manager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/focus/focus_manager.h b/views/focus/focus_manager.h
index 70c38e56..a75f79a 100644
--- a/views/focus/focus_manager.h
+++ b/views/focus/focus_manager.h
@@ -269,17 +269,17 @@ class FocusManager {
AcceleratorTarget* GetCurrentTargetForAccelerator(
const Accelerator& accelertor) const;
- // Convenience method that returns true if the passed |key_event| should
- // trigger tab traversal (if it is a TAB key press with or without SHIFT
- // pressed).
- static bool IsTabTraversalKeyEvent(const KeyEvent& key_event);
-
// Sets the focus to the specified native view.
virtual void FocusNativeView(gfx::NativeView native_view);
// Clears the native view having the focus.
virtual void ClearNativeFocus();
+ // Convenience method that returns true if the passed |key_event| should
+ // trigger tab traversal (if it is a TAB key press with or without SHIFT
+ // pressed).
+ static bool IsTabTraversalKeyEvent(const KeyEvent& key_event);
+
// Retrieves the FocusManager associated with the passed native view.
static FocusManager* GetFocusManagerForNativeView(
gfx::NativeView native_view);