Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.h |
| diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h |
| index 137ed8cf335f1b18de6262472bc984ce4a49660a..597fb94cba3a162c046e46a62d2b651c5e4c342f 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view.h |
| +++ b/chrome/browser/ui/views/frame/browser_view.h |
| @@ -657,9 +657,14 @@ class BrowserView : public BrowserWindow, |
| // The Status information bubble that appears at the bottom of the window. |
| std::unique_ptr<StatusBubbleViews> status_bubble_; |
| - // A mapping between accelerators and commands. |
| + // A mapping between accelerators and command IDs. |
| std::map<ui::Accelerator, int> accelerator_table_; |
| + // IDs of commands that should be executed in response to repeated |
| + // accelerators (i.e. generated by holding keys down). Repeated accelerators |
| + // are ignored otherwise. |
| + std::set<int> repeatable_command_ids_; |
|
sky
2016/09/01 19:31:06
How often do we trigger accelerators, especially o
Daniel Erat
2016/09/01 19:47:31
the local copy was initially due to mirroring the
|
| + |
| // True if we have already been initialized. |
| bool initialized_; |