| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 return display_mode_ == DISPLAYMODE_NORMAL; | 210 return display_mode_ == DISPLAYMODE_NORMAL; |
| 211 } | 211 } |
| 212 | 212 |
| 213 // Shows the critical notification bubble against the wrench menu. | 213 // Shows the critical notification bubble against the wrench menu. |
| 214 void ShowCriticalNotification(); | 214 void ShowCriticalNotification(); |
| 215 | 215 |
| 216 // Shows the outdated install notification bubble against the wrench menu. | 216 // Shows the outdated install notification bubble against the wrench menu. |
| 217 // |auto_update_enabled| is set to true when auto-upate is on. | 217 // |auto_update_enabled| is set to true when auto-upate is on. |
| 218 void ShowOutdatedInstallNotification(bool auto_update_enabled); | 218 void ShowOutdatedInstallNotification(bool auto_update_enabled); |
| 219 | 219 |
| 220 // Shows elevation-needed notification bubble against the wrench menu for |
| 221 // recovery component. |
| 222 void ShowRecoveryComponentNotification(); |
| 223 |
| 220 // Updates the badge and the accessible name of the app menu (Wrench). | 224 // Updates the badge and the accessible name of the app menu (Wrench). |
| 221 void UpdateAppMenuState(); | 225 void UpdateAppMenuState(); |
| 222 | 226 |
| 223 // Updates the severity level on the wrench menu button. | 227 // Updates the severity level on the wrench menu button. |
| 224 void UpdateWrenchButtonSeverity(); | 228 void UpdateWrenchButtonSeverity(); |
| 225 | 229 |
| 226 void OnShowHomeButtonChanged(); | 230 void OnShowHomeButtonChanged(); |
| 227 | 231 |
| 228 int content_shadow_height() const; | 232 int content_shadow_height() const; |
| 229 | 233 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 256 | 260 |
| 257 // A list of listeners to call when the menu opens. | 261 // A list of listeners to call when the menu opens. |
| 258 ObserverList<views::MenuListener> menu_listeners_; | 262 ObserverList<views::MenuListener> menu_listeners_; |
| 259 | 263 |
| 260 content::NotificationRegistrar registrar_; | 264 content::NotificationRegistrar registrar_; |
| 261 | 265 |
| 262 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 266 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 263 }; | 267 }; |
| 264 | 268 |
| 265 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 269 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |