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

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

Issue 42460: Adds a bookmark menu. This is experimental. To turn on you need... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Controls 185 // Controls
186 views::ImageButton* back_; 186 views::ImageButton* back_;
187 views::ImageButton* forward_; 187 views::ImageButton* forward_;
188 views::ImageButton* reload_; 188 views::ImageButton* reload_;
189 views::ImageButton* home_; 189 views::ImageButton* home_;
190 ToolbarStarToggle* star_; 190 ToolbarStarToggle* star_;
191 LocationBarView* location_bar_; 191 LocationBarView* location_bar_;
192 GoButton* go_; 192 GoButton* go_;
193 views::MenuButton* page_menu_; 193 views::MenuButton* page_menu_;
194 views::MenuButton* app_menu_; 194 views::MenuButton* app_menu_;
195 // The bookmark menu button. This may be null.
196 views::MenuButton* bookmark_menu_;
195 Profile* profile_; 197 Profile* profile_;
196 Browser* browser_; 198 Browser* browser_;
197 199
198 // Current tab we're showing state for. 200 // Current tab we're showing state for.
199 TabContents* tab_; 201 TabContents* tab_;
200 202
201 // Profiles menu to populate with profile names. 203 // Profiles menu to populate with profile names.
202 Menu* profiles_menu_; 204 Menu* profiles_menu_;
203 205
204 // Helper class to enumerate profiles information on the file thread. 206 // Helper class to enumerate profiles information on the file thread.
205 scoped_refptr<GetProfilesHelper> profiles_helper_; 207 scoped_refptr<GetProfilesHelper> profiles_helper_;
206 208
207 // Controls whether or not a home button should be shown on the toolbar. 209 // Controls whether or not a home button should be shown on the toolbar.
208 BooleanPrefMember show_home_button_; 210 BooleanPrefMember show_home_button_;
209 211
210 // The display mode used when laying out the toolbar. 212 // The display mode used when laying out the toolbar.
211 DisplayMode display_mode_; 213 DisplayMode display_mode_;
212 }; 214 };
213 215
214 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ 216 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698