Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2281)

Unified Diff: content/public/browser/web_ui.h

Issue 14080004: Remove some chrome-specific methods from content::WebUI. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_ui.h
===================================================================
--- content/public/browser/web_ui.h (revision 193436)
+++ content/public/browser/web_ui.h (working copy)
@@ -57,21 +57,6 @@
// Javascript.
virtual ui::ScaleFactor GetDeviceScaleFactor() const = 0;
- // Returns true if the favicon should be hidden for the current tab.
- virtual bool ShouldHideFavicon() const = 0;
- virtual void HideFavicon() = 0;
-
- // Returns true if the location bar should be focused by default rather than
- // the page contents. Some pages will want to use this to encourage the user
- // to type in the URL bar.
- virtual bool ShouldFocusLocationBarByDefault() const = 0;
- virtual void FocusLocationBarByDefault() = 0;
-
- // Returns true if the page's URL should be hidden. Some Web UI pages
- // like the new tab page will want to hide it.
- virtual bool ShouldHideURL() const = 0;
- virtual void HideURL() = 0;
-
// Gets a custom tab title provided by the Web UI. If there is no title
// override, the string will be empty which should trigger the default title
// behavior for the tab.
« content/public/browser/web_contents.h ('K') | « content/public/browser/web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698