Index: content/browser/webui/web_ui_impl.cc |
=================================================================== |
--- content/browser/webui/web_ui_impl.cc (revision 193436) |
+++ content/browser/webui/web_ui_impl.cc (working copy) |
@@ -45,10 +45,7 @@ |
} |
WebUIImpl::WebUIImpl(WebContents* contents) |
- : hide_favicon_(false), |
- focus_location_bar_by_default_(false), |
- should_hide_url_(false), |
- link_transition_type_(PAGE_TRANSITION_LINK), |
+ : link_transition_type_(PAGE_TRANSITION_LINK), |
bindings_(BINDINGS_POLICY_WEB_UI), |
web_contents_(contents) { |
DCHECK(contents); |
@@ -111,30 +108,6 @@ |
return GetScaleFactorForView(web_contents_->GetRenderWidgetHostView()); |
} |
-bool WebUIImpl::ShouldHideFavicon() const { |
- return hide_favicon_; |
-} |
- |
-void WebUIImpl::HideFavicon() { |
- hide_favicon_ = true; |
-} |
- |
-bool WebUIImpl::ShouldFocusLocationBarByDefault() const { |
- return focus_location_bar_by_default_; |
-} |
- |
-void WebUIImpl::FocusLocationBarByDefault() { |
- focus_location_bar_by_default_ = true; |
-} |
- |
-bool WebUIImpl::ShouldHideURL() const { |
- return should_hide_url_; |
-} |
- |
-void WebUIImpl::HideURL() { |
- should_hide_url_ = true; |
-} |
- |
const string16& WebUIImpl::GetOverriddenTitle() const { |
return overridden_title_; |
} |