Index: content/browser/webui/web_ui_impl.cc |
diff --git a/content/browser/webui/web_ui_impl.cc b/content/browser/webui/web_ui_impl.cc |
index 5155702e6ca6c400382966d76e46cafb260b12b2..beb887ca035706ee0ac256aba13eaa1da1c8201b 100644 |
--- a/content/browser/webui/web_ui_impl.cc |
+++ b/content/browser/webui/web_ui_impl.cc |
@@ -48,6 +48,7 @@ WebUIImpl::WebUIImpl(WebContents* contents) |
: hide_favicon_(false), |
focus_location_bar_by_default_(false), |
should_hide_url_(false), |
+ should_not_emphasize_host_(false), |
link_transition_type_(PAGE_TRANSITION_LINK), |
bindings_(BINDINGS_POLICY_WEB_UI), |
web_contents_(contents) { |
@@ -135,6 +136,14 @@ void WebUIImpl::HideURL() { |
should_hide_url_ = true; |
} |
+bool WebUIImpl::ShouldNotEmphasizeHost() const { |
+ return should_not_emphasize_host_; |
+} |
+ |
+void WebUIImpl::DontEmphasizeHost() { |
+ should_not_emphasize_host_ = true; |
+} |
+ |
const string16& WebUIImpl::GetOverriddenTitle() const { |
return overridden_title_; |
} |