Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: chrome/browser/ui/views/toolbar/toolbar_view.h

Issue 553243002: Track the active ExtensionKeybindingRegistry and make it available to EventRewriter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Address more comments. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // CommandObserver: 132 // CommandObserver:
133 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; 133 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE;
134 134
135 // views::ButtonListener: 135 // views::ButtonListener:
136 virtual void ButtonPressed(views::Button* sender, 136 virtual void ButtonPressed(views::Button* sender,
137 const ui::Event& event) OVERRIDE; 137 const ui::Event& event) OVERRIDE;
138 138
139 // views::WidgetObserver: 139 // views::WidgetObserver:
140 virtual void OnWidgetVisibilityChanged(views::Widget* widget, 140 virtual void OnWidgetVisibilityChanged(views::Widget* widget,
141 bool visible) OVERRIDE; 141 bool visible) OVERRIDE;
142 virtual void OnWidgetDestroyed(views::Widget* widget) OVERRIDE;
142 143
143 // content::NotificationObserver: 144 // content::NotificationObserver:
144 virtual void Observe(int type, 145 virtual void Observe(int type,
145 const content::NotificationSource& source, 146 const content::NotificationSource& source,
146 const content::NotificationDetails& details) OVERRIDE; 147 const content::NotificationDetails& details) OVERRIDE;
147 148
148 // ui::AcceleratorProvider: 149 // ui::AcceleratorProvider:
149 virtual bool GetAcceleratorForCommandId( 150 virtual bool GetAcceleratorForCommandId(
150 int command_id, ui::Accelerator* accelerator) OVERRIDE; 151 int command_id, ui::Accelerator* accelerator) OVERRIDE;
151 152
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 253
253 // A list of listeners to call when the menu opens. 254 // A list of listeners to call when the menu opens.
254 ObserverList<views::MenuListener> menu_listeners_; 255 ObserverList<views::MenuListener> menu_listeners_;
255 256
256 content::NotificationRegistrar registrar_; 257 content::NotificationRegistrar registrar_;
257 258
258 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 259 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
259 }; 260 };
260 261
261 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 262 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698