| Index: chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| diff --git a/chrome/browser/ui/toolbar/toolbar_model_impl.cc b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| index 2359f3f368e39616ccdf5c2fcc5f6634e4a41767..851a52cd72a2470035056f802291fb8e82e38acd 100644
|
| --- a/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| +++ b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| @@ -179,6 +179,13 @@ bool ToolbarModelImpl::ShouldDisplayURL() const {
|
| return true;
|
| }
|
|
|
| +bool ToolbarModelImpl::ShouldNotEmphasizeHost() const {
|
| + WebContents* web_contents = delegate_->GetActiveWebContents();
|
| + if (web_contents && web_contents->GetWebUIForCurrentState())
|
| + return web_contents->GetWebUIForCurrentState()->ShouldNotEmphasizeHost();
|
| + return false;
|
| +}
|
| +
|
| ToolbarModel::SecurityLevel ToolbarModelImpl::GetSecurityLevel() const {
|
| if (input_in_progress_) // When editing, assume no security style.
|
| return NONE;
|
|
|