diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-12 20:29:04 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-12 20:29:04 +0000 |
commit | c744f7d2acf1b35e531860bf655714dc901d148f (patch) | |
tree | 2a8a253ec0c4c392df66e7543d504588e0984a87 /chrome/browser/favicon | |
parent | a3eb0a237280b3942288f82fcb7174c1283bf9ee (diff) | |
download | chromium_src-c744f7d2acf1b35e531860bf655714dc901d148f.zip chromium_src-c744f7d2acf1b35e531860bf655714dc901d148f.tar.gz chromium_src-c744f7d2acf1b35e531860bf655714dc901d148f.tar.bz2 |
Remove some chrome-specific methods from content::WebUI.
HideFavicon wasn't used anymore. This is probably because now we show a search icon there.
FocusLocationBarByDefault can just be implemented in Browser (like Instant).
HideURL can just be implemented in ToolbarModelImpl (again, like Instant).
Review URL: https://codereview.chromium.org/14080004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/favicon')
-rw-r--r-- | chrome/browser/favicon/favicon_tab_helper.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/favicon/favicon_tab_helper.cc b/chrome/browser/favicon/favicon_tab_helper.cc index 4c53912..47f416d 100644 --- a/chrome/browser/favicon/favicon_tab_helper.cc +++ b/chrome/browser/favicon/favicon_tab_helper.cc @@ -22,7 +22,6 @@ #include "content/public/browser/render_view_host.h" #include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents_delegate.h" -#include "content/public/browser/web_ui.h" #include "ui/gfx/codec/png_codec.h" #include "ui/gfx/image/image.h" #include "ui/gfx/image/image_skia.h" @@ -95,9 +94,6 @@ bool FaviconTabHelper::ShouldDisplayFavicon() { if (chrome::IsInstantNTP(web_contents())) return false; - content::WebUI* web_ui = web_contents()->GetWebUIForCurrentState(); - if (web_ui) - return !web_ui->ShouldHideFavicon(); return true; } |