diff options
Diffstat (limited to 'chrome/views/focus_manager.h')
-rw-r--r-- | chrome/views/focus_manager.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/views/focus_manager.h b/chrome/views/focus_manager.h index 0537e5c..4b99420 100644 --- a/chrome/views/focus_manager.h +++ b/chrome/views/focus_manager.h @@ -292,6 +292,13 @@ class FocusManager : public NotificationObserver { void AddFocusChangeListener(FocusChangeListener* listener); void RemoveFocusChangeListener(FocusChangeListener* listener); + // Returns the AcceleratorTarget that should be activated for the specified + // keyboard accelerator, or NULL if no view is registered for that keyboard + // accelerator. + // TODO(finnur): http://b/1307173 Make this private once the bug is fixed. + AcceleratorTarget* GetTargetForAccelerator( + const Accelerator& accelerator) const; + private: explicit FocusManager(HWND root, RootView* root_view); ~FocusManager(); @@ -311,12 +318,6 @@ class FocusManager : public NotificationObserver { bool reverse, bool dont_loop); - // Returns the AcceleratorTarget that should be activated for the specified - // keyboard accelerator, or NULL if no view is registered for that keyboard - // accelerator. - AcceleratorTarget* GetTargetForAccelerator( - const Accelerator& accelerator) const; - // The RootView of the window associated with this FocusManager. RootView* top_root_view_; |