OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 virtual void OnInputInProgress(bool in_progress) OVERRIDE; | 125 virtual void OnInputInProgress(bool in_progress) OVERRIDE; |
126 | 126 |
127 // Overridden from chrome::search::SearchModelObserver: | 127 // Overridden from chrome::search::SearchModelObserver: |
128 virtual void ModeChanged(const chrome::search::Mode& mode) OVERRIDE; | 128 virtual void ModeChanged(const chrome::search::Mode& mode) OVERRIDE; |
129 | 129 |
130 // Overridden from CommandObserver: | 130 // Overridden from CommandObserver: |
131 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; | 131 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; |
132 | 132 |
133 // Overridden from views::ButtonListener: | 133 // Overridden from views::ButtonListener: |
134 virtual void ButtonPressed(views::Button* sender, | 134 virtual void ButtonPressed(views::Button* sender, |
135 const views::Event& event) OVERRIDE; | 135 const ui::Event& event) OVERRIDE; |
136 | 136 |
137 // Overridden from content::NotificationObserver: | 137 // Overridden from content::NotificationObserver: |
138 virtual void Observe(int type, | 138 virtual void Observe(int type, |
139 const content::NotificationSource& source, | 139 const content::NotificationSource& source, |
140 const content::NotificationDetails& details) OVERRIDE; | 140 const content::NotificationDetails& details) OVERRIDE; |
141 | 141 |
142 // Overridden from ui::AcceleratorProvider: | 142 // Overridden from ui::AcceleratorProvider: |
143 virtual bool GetAcceleratorForCommandId( | 143 virtual bool GetAcceleratorForCommandId( |
144 int command_id, ui::Accelerator* accelerator) OVERRIDE; | 144 int command_id, ui::Accelerator* accelerator) OVERRIDE; |
145 | 145 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 242 |
243 // A list of listeners to call when the menu opens. | 243 // A list of listeners to call when the menu opens. |
244 ObserverList<views::MenuListener> menu_listeners_; | 244 ObserverList<views::MenuListener> menu_listeners_; |
245 | 245 |
246 content::NotificationRegistrar registrar_; | 246 content::NotificationRegistrar registrar_; |
247 | 247 |
248 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 248 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
249 }; | 249 }; |
250 | 250 |
251 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 251 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
OLD | NEW |