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

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

Issue 11440020: Add an outdated upgrade bubble view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed OWNERS comments... Created 7 years, 10 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 (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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // Loads the images for all the child views. 183 // Loads the images for all the child views.
184 void LoadImages(); 184 void LoadImages();
185 185
186 bool is_display_mode_normal() const { 186 bool is_display_mode_normal() const {
187 return display_mode_ == DISPLAYMODE_NORMAL; 187 return display_mode_ == DISPLAYMODE_NORMAL;
188 } 188 }
189 189
190 // Shows the critical notification bubble against the wrench menu. 190 // Shows the critical notification bubble against the wrench menu.
191 void ShowCriticalNotification(); 191 void ShowCriticalNotification();
192 192
193 // Shows the outdated install notification bubble against the wrench menu.
194 void ShowOutdatedInstallNotification();
195
193 // Updates the badge and the accessible name of the app menu (Wrench). 196 // Updates the badge and the accessible name of the app menu (Wrench).
194 void UpdateAppMenuState(); 197 void UpdateAppMenuState();
195 198
196 void OnShowHomeButtonChanged(); 199 void OnShowHomeButtonChanged();
197 200
198 int content_shadow_height() const; 201 int content_shadow_height() const;
199 202
200 // The model that contains the security level, text, icon to display... 203 // The model that contains the security level, text, icon to display...
201 ToolbarModel* model_; 204 ToolbarModel* model_;
202 205
(...skipping 24 matching lines...) Expand all
227 230
228 // A list of listeners to call when the menu opens. 231 // A list of listeners to call when the menu opens.
229 ObserverList<views::MenuListener> menu_listeners_; 232 ObserverList<views::MenuListener> menu_listeners_;
230 233
231 content::NotificationRegistrar registrar_; 234 content::NotificationRegistrar registrar_;
232 235
233 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 236 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
234 }; 237 };
235 238
236 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ 239 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/outdated_upgrade_bubble_view.cc ('k') | chrome/browser/ui/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698