| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |