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

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

Issue 3015047: Merge 53887 - Swap reload and home back to how they were in Chrome <= 5.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/views/toolbar_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VIEWS_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "app/menus/simple_menu_model.h" 10 #include "app/menus/simple_menu_model.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 scoped_ptr<BackForwardMenuModel> back_menu_model_; 155 scoped_ptr<BackForwardMenuModel> back_menu_model_;
156 scoped_ptr<BackForwardMenuModel> forward_menu_model_; 156 scoped_ptr<BackForwardMenuModel> forward_menu_model_;
157 157
158 // The model that contains the security level, text, icon to display... 158 // The model that contains the security level, text, icon to display...
159 ToolbarModel* model_; 159 ToolbarModel* model_;
160 160
161 // Controls 161 // Controls
162 views::ImageButton* back_; 162 views::ImageButton* back_;
163 views::ImageButton* forward_; 163 views::ImageButton* forward_;
164 ReloadButton* reload_;
164 views::ImageButton* home_; 165 views::ImageButton* home_;
165 ReloadButton* reload_;
166 LocationBarView* location_bar_; 166 LocationBarView* location_bar_;
167 BrowserActionsContainer* browser_actions_; 167 BrowserActionsContainer* browser_actions_;
168 views::MenuButton* app_menu_; 168 views::MenuButton* app_menu_;
169 Profile* profile_; 169 Profile* profile_;
170 Browser* browser_; 170 Browser* browser_;
171 171
172 // Contents of the profiles menu to populate with profile names. 172 // Contents of the profiles menu to populate with profile names.
173 scoped_ptr<menus::SimpleMenuModel> profiles_menu_contents_; 173 scoped_ptr<menus::SimpleMenuModel> profiles_menu_contents_;
174 174
175 // Controls whether or not a home button should be shown on the toolbar. 175 // Controls whether or not a home button should be shown on the toolbar.
(...skipping 28 matching lines...) Expand all
204 // running. 204 // running.
205 bool* destroyed_flag_; 205 bool* destroyed_flag_;
206 206
207 // When collapsed, the toolbar is just a tiny strip, no controls are visible. 207 // When collapsed, the toolbar is just a tiny strip, no controls are visible.
208 bool collapsed_; 208 bool collapsed_;
209 209
210 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 210 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
211 }; 211 };
212 212
213 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ 213 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698