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

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

Issue 12463042: Shows chrome-extension urls and greys out the whole url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not hacky anymore Created 7 years, 8 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_TOOLBAR_TOOLBAR_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_H_ 6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual int GetIcon() const = 0; 63 virtual int GetIcon() const = 0;
64 64
65 // Returns the name of the EV cert holder. Only call this when the security 65 // Returns the name of the EV cert holder. Only call this when the security
66 // level is EV_SECURE. 66 // level is EV_SECURE.
67 virtual string16 GetEVCertName() const = 0; 67 virtual string16 GetEVCertName() const = 0;
68 68
69 // Returns whether the URL for the current navigation entry should be 69 // Returns whether the URL for the current navigation entry should be
70 // in the location bar. 70 // in the location bar.
71 virtual bool ShouldDisplayURL() const = 0; 71 virtual bool ShouldDisplayURL() const = 0;
72 72
73 // Returns true when the URL host for the current navigation entry should
74 // NOT be emphasized in the location bar.
Devlin 2013/03/27 15:59:52 You should emphasize that this is just a handle to
Patrick Riordan 2013/03/27 19:43:28 Done.
75 virtual bool ShouldNotEmphasizeHost() const = 0;
76
73 // Getter/setter of whether the text in location bar is currently being 77 // Getter/setter of whether the text in location bar is currently being
74 // edited. 78 // edited.
75 virtual void SetInputInProgress(bool value) = 0; 79 virtual void SetInputInProgress(bool value) = 0;
76 virtual bool GetInputInProgress() const = 0; 80 virtual bool GetInputInProgress() const = 0;
77 81
78 protected: 82 protected:
79 ToolbarModel() {} 83 ToolbarModel() {}
80 }; 84 };
81 85
82 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_H_ 86 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698