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

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

Issue 2360803002: Remove some pre-MD code from toolbar/tabstrip/frame. (Closed)
Patch Set: couple more Created 4 years, 3 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
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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // Shows the critical notification bubble against the app menu. 188 // Shows the critical notification bubble against the app menu.
189 void ShowCriticalNotification(); 189 void ShowCriticalNotification();
190 190
191 // Shows the outdated install notification bubble against the app menu. 191 // Shows the outdated install notification bubble against the app menu.
192 // |auto_update_enabled| is set to true when auto-upate is on. 192 // |auto_update_enabled| is set to true when auto-upate is on.
193 void ShowOutdatedInstallNotification(bool auto_update_enabled); 193 void ShowOutdatedInstallNotification(bool auto_update_enabled);
194 194
195 void OnShowHomeButtonChanged(); 195 void OnShowHomeButtonChanged();
196 196
197 int content_shadow_height() const;
198
199 // Controls. Most of these can be null, e.g. in popup windows. Only 197 // Controls. Most of these can be null, e.g. in popup windows. Only
200 // |location_bar_| is guaranteed to exist. 198 // |location_bar_| is guaranteed to exist.
201 BackButton* back_; 199 BackButton* back_;
202 ToolbarButton* forward_; 200 ToolbarButton* forward_;
203 ReloadButton* reload_; 201 ReloadButton* reload_;
204 HomeButton* home_; 202 HomeButton* home_;
205 LocationBarView* location_bar_; 203 LocationBarView* location_bar_;
206 BrowserActionsContainer* browser_actions_; 204 BrowserActionsContainer* browser_actions_;
207 AppMenuButton* app_menu_button_; 205 AppMenuButton* app_menu_button_;
208 206
209 Browser* browser_; 207 Browser* browser_;
210 208
211 AppMenuIconController app_menu_icon_controller_; 209 AppMenuIconController app_menu_icon_controller_;
212 210
213 // Controls whether or not a home button should be shown on the toolbar. 211 // Controls whether or not a home button should be shown on the toolbar.
214 BooleanPrefMember show_home_button_; 212 BooleanPrefMember show_home_button_;
215 213
216 // The display mode used when laying out the toolbar. 214 // The display mode used when laying out the toolbar.
217 const DisplayMode display_mode_; 215 const DisplayMode display_mode_;
218 216
219 content::NotificationRegistrar registrar_; 217 content::NotificationRegistrar registrar_;
220 218
221 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 219 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
222 }; 220 };
223 221
224 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 222 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698