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

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

Issue 211543008: Show a modified outdated upgrade Bubble for non-enterprise users without auto-update (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Shot in the dark to try and prevent Mac crashes... Created 6 years, 8 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 | Annotate | Revision Log
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 void LoadImages(); 205 void LoadImages();
206 206
207 bool is_display_mode_normal() const { 207 bool is_display_mode_normal() const {
208 return display_mode_ == DISPLAYMODE_NORMAL; 208 return display_mode_ == DISPLAYMODE_NORMAL;
209 } 209 }
210 210
211 // Shows the critical notification bubble against the wrench menu. 211 // Shows the critical notification bubble against the wrench menu.
212 void ShowCriticalNotification(); 212 void ShowCriticalNotification();
213 213
214 // Shows the outdated install notification bubble against the wrench menu. 214 // Shows the outdated install notification bubble against the wrench menu.
215 void ShowOutdatedInstallNotification(); 215 // |auto_update_enabled| is set to true when auto-upate is on.
216 void ShowOutdatedInstallNotification(bool auto_update_enabled);
216 217
217 // Updates the badge and the accessible name of the app menu (Wrench). 218 // Updates the badge and the accessible name of the app menu (Wrench).
218 void UpdateAppMenuState(); 219 void UpdateAppMenuState();
219 220
220 // Updates the severity level on the wrench menu button. 221 // Updates the severity level on the wrench menu button.
221 void UpdateWrenchButtonSeverity(); 222 void UpdateWrenchButtonSeverity();
222 223
223 void OnShowHomeButtonChanged(); 224 void OnShowHomeButtonChanged();
224 225
225 int content_shadow_height() const; 226 int content_shadow_height() const;
(...skipping 28 matching lines...) Expand all
254 255
255 // A list of listeners to call when the menu opens. 256 // A list of listeners to call when the menu opens.
256 ObserverList<views::MenuListener> menu_listeners_; 257 ObserverList<views::MenuListener> menu_listeners_;
257 258
258 content::NotificationRegistrar registrar_; 259 content::NotificationRegistrar registrar_;
259 260
260 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 261 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
261 }; 262 };
262 263
263 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 264 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/outdated_upgrade_bubble_view.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698