Index: ui/views/focus/focus_manager.h |
diff --git a/ui/views/focus/focus_manager.h b/ui/views/focus/focus_manager.h |
index cbd7583573e161718c411f27fc515c325abc0bc6..6e155815fcc28dc4b6348a36b6a2836e32d02a9a 100644 |
--- a/ui/views/focus/focus_manager.h |
+++ b/ui/views/focus/focus_manager.h |
@@ -168,6 +168,11 @@ class VIEWS_EXPORT FocusManager { |
return focus_change_reason_; |
} |
+ // Gets the AcceleratorManager this FocusManager is associated with. |
+ ui::AcceleratorManager* accelerator_manager() const { |
+ return accelerator_manager_.get(); |
+ } |
+ |
// Clears the focused view. The window associated with the top root view gets |
// the native focus (so we still get keyboard events). |
void ClearFocus(); |