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

Side by Side Diff: chrome/browser/toolbar_model.h

Issue 3080031: Delete obviously unneeded forward declarations in chrome/browser/*.h. (Closed)
Patch Set: bah 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
« no previous file with comments | « chrome/browser/task_manager.h ('k') | chrome/browser/utility_process_host.h » ('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_TOOLBAR_MODEL_H__ 5 #ifndef CHROME_BROWSER_TOOLBAR_MODEL_H__
6 #define CHROME_BROWSER_TOOLBAR_MODEL_H__ 6 #define CHROME_BROWSER_TOOLBAR_MODEL_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 12
13 class Browser; 13 class Browser;
14 class NavigationController; 14 class NavigationController;
15 class NavigationEntry;
16 15
17 // This class is the model used by the toolbar, location bar and autocomplete 16 // This class is the model used by the toolbar, location bar and autocomplete
18 // edit. It populates its states from the current navigation entry retrieved 17 // edit. It populates its states from the current navigation entry retrieved
19 // from the navigation controller returned by GetNavigationController(). 18 // from the navigation controller returned by GetNavigationController().
20 class ToolbarModel { 19 class ToolbarModel {
21 public: 20 public:
22 // TODO(wtc): unify ToolbarModel::SecurityLevel with SecurityStyle. We 21 // TODO(wtc): unify ToolbarModel::SecurityLevel with SecurityStyle. We
23 // don't need two sets of security UI levels. SECURITY_STYLE_AUTHENTICATED 22 // don't need two sets of security UI levels. SECURITY_STYLE_AUTHENTICATED
24 // needs to be refined into three levels: warning, standard, and EV. 23 // needs to be refined into three levels: warning, standard, and EV.
25 enum SecurityLevel { 24 enum SecurityLevel {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 62
64 Browser* browser_; 63 Browser* browser_;
65 64
66 // Whether the text in the location bar is currently being edited. 65 // Whether the text in the location bar is currently being edited.
67 bool input_in_progress_; 66 bool input_in_progress_;
68 67
69 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarModel); 68 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarModel);
70 }; 69 };
71 70
72 #endif // CHROME_BROWSER_TOOLBAR_MODEL_H__ 71 #endif // CHROME_BROWSER_TOOLBAR_MODEL_H__
OLDNEW
« no previous file with comments | « chrome/browser/task_manager.h ('k') | chrome/browser/utility_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698