diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 03:06:28 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 03:06:28 +0000 |
commit | d4cafafac04f16475b30346609c21dca6a8906d0 (patch) | |
tree | 222c3ead2eb74d7120be8b08356996003bf53b8d /chrome/browser/toolbar_model.h | |
parent | e9aac796f9c73762f82b79cdb49682383058b054 (diff) | |
download | chromium_src-d4cafafac04f16475b30346609c21dca6a8906d0.zip chromium_src-d4cafafac04f16475b30346609c21dca6a8906d0.tar.gz chromium_src-d4cafafac04f16475b30346609c21dca6a8906d0.tar.bz2 |
Show EV cert info text next to security icon.
Use hbox to pack location entry, security icons and EV cert info text.
Change ToolbarModel::GetInfoText not return SkColor.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/126117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/toolbar_model.h')
-rw-r--r-- | chrome/browser/toolbar_model.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/chrome/browser/toolbar_model.h b/chrome/browser/toolbar_model.h index e0935fd..357f7d2 100644 --- a/chrome/browser/toolbar_model.h +++ b/chrome/browser/toolbar_model.h @@ -31,8 +31,13 @@ class ToolbarModel { WARNING_ICON }; + enum InfoTextType { + INFO_NO_INFO = 0, + INFO_EV_TEXT, + }; + ToolbarModel(); - ~ToolbarModel(); + virtual ~ToolbarModel(); // Returns the text that should be displayed in the location bar. // Default value: empty string. @@ -60,10 +65,9 @@ class ToolbarModel { // Sets |text| to contain the text that should be displayed on the right of // the location bar, and |tooltip| to the tooltip text that should be shown // when the mouse hover over that info label. - // Default value: empty string. - virtual void GetInfoText(std::wstring* text, - SkColor* text_color, - std::wstring* tooltip); + // Default value: NO_INFO and empty string for |text| and |tooltip|. + virtual InfoTextType GetInfoText(std::wstring* text, + std::wstring* tooltip); // Getter/setter of whether the text in location bar is currently being // edited. |