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

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: Created 6 years, 9 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void LoadImages(); 206 void LoadImages();
207 207
208 bool is_display_mode_normal() const { 208 bool is_display_mode_normal() const {
209 return display_mode_ == DISPLAYMODE_NORMAL; 209 return display_mode_ == DISPLAYMODE_NORMAL;
210 } 210 }
211 211
212 // Shows the critical notification bubble against the wrench menu. 212 // Shows the critical notification bubble against the wrench menu.
213 void ShowCriticalNotification(); 213 void ShowCriticalNotification();
214 214
215 // Shows the outdated install notification bubble against the wrench menu. 215 // Shows the outdated install notification bubble against the wrench menu.
216 void ShowOutdatedInstallNotification(); 216 // |auto_update_on| is set to true when auto-upate is on.
217 void ShowOutdatedInstallNotification(bool auto_update_on);
robertshield 2014/03/26 03:20:11 suggest: s/auto_update_on/auto_update_enabled/
MAD 2014/03/26 19:30:16 Done.
217 218
218 // Updates the badge and the accessible name of the app menu (Wrench). 219 // Updates the badge and the accessible name of the app menu (Wrench).
219 void UpdateAppMenuState(); 220 void UpdateAppMenuState();
220 221
221 // Updates the severity level on the wrench menu button. 222 // Updates the severity level on the wrench menu button.
222 void UpdateWrenchButtonSeverity(); 223 void UpdateWrenchButtonSeverity();
223 224
224 void OnShowHomeButtonChanged(); 225 void OnShowHomeButtonChanged();
225 226
226 int content_shadow_height() const; 227 int content_shadow_height() const;
(...skipping 28 matching lines...) Expand all
255 256
256 // A list of listeners to call when the menu opens. 257 // A list of listeners to call when the menu opens.
257 ObserverList<views::MenuListener> menu_listeners_; 258 ObserverList<views::MenuListener> menu_listeners_;
258 259
259 content::NotificationRegistrar registrar_; 260 content::NotificationRegistrar registrar_;
260 261
261 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 262 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
262 }; 263 };
263 264
264 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 265 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698