diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 23:23:55 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 23:23:55 +0000 |
commit | 74347667284124202acbba6b351e4341666b0f94 (patch) | |
tree | 1ad4827ab81f50fbcc42d8bd230d078d712028ae /chrome | |
parent | fa583d0db5fa493e567d224564c438cb06adfc2b (diff) | |
download | chromium_src-74347667284124202acbba6b351e4341666b0f94.zip chromium_src-74347667284124202acbba6b351e4341666b0f94.tar.gz chromium_src-74347667284124202acbba6b351e4341666b0f94.tar.bz2 |
Make the EV cert message disappear while typing in the omnibox.
BUG=20917
TEST=Visit paypal.com, then type in the omnibox. While typing, the EV cert message on the right side of the omnibox should disappear.
Review URL: http://codereview.chromium.org/172118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/toolbar_model.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/toolbar_model.cc b/chrome/browser/toolbar_model.cc index 1a80db2..9d6715f 100644 --- a/chrome/browser/toolbar_model.cc +++ b/chrome/browser/toolbar_model.cc @@ -163,6 +163,9 @@ ToolbarModel::InfoTextType ToolbarModel::GetInfoText(std::wstring* text, text->clear(); tooltip->clear(); + if (input_in_progress_) + return INFO_NO_INFO; + NavigationController* navigation_controller = GetNavigationController(); if (!navigation_controller) // We might not have a controller on init. return INFO_NO_INFO; |