OLD | NEW |
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 Loading... |
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 OnWidgetActivationChanged(views::Widget* widget, | |
143 bool active) OVERRIDE; | |
144 | 142 |
145 // content::NotificationObserver: | 143 // content::NotificationObserver: |
146 virtual void Observe(int type, | 144 virtual void Observe(int type, |
147 const content::NotificationSource& source, | 145 const content::NotificationSource& source, |
148 const content::NotificationDetails& details) OVERRIDE; | 146 const content::NotificationDetails& details) OVERRIDE; |
149 | 147 |
150 // ui::AcceleratorProvider: | 148 // ui::AcceleratorProvider: |
151 virtual bool GetAcceleratorForCommandId( | 149 virtual bool GetAcceleratorForCommandId( |
152 int command_id, ui::Accelerator* accelerator) OVERRIDE; | 150 int command_id, ui::Accelerator* accelerator) OVERRIDE; |
153 | 151 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 252 |
255 // A list of listeners to call when the menu opens. | 253 // A list of listeners to call when the menu opens. |
256 ObserverList<views::MenuListener> menu_listeners_; | 254 ObserverList<views::MenuListener> menu_listeners_; |
257 | 255 |
258 content::NotificationRegistrar registrar_; | 256 content::NotificationRegistrar registrar_; |
259 | 257 |
260 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 258 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
261 }; | 259 }; |
262 | 260 |
263 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 261 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
OLD | NEW |