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

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

Issue 12463042: Shows chrome-extension urls and greys out the whole url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not hacky anymore Created 7 years, 9 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
diff --git a/content/public/browser/web_ui.h b/content/public/browser/web_ui.h
index 3e72a64d1b6b629cd72a12fa21570b38d6e91a4a..a0610ee9f2f3e50184da733ef2d97bc26cbd1e7f 100644
--- a/content/public/browser/web_ui.h
+++ b/content/public/browser/web_ui.h
@@ -72,6 +72,10 @@ class CONTENT_EXPORT WebUI {
virtual bool ShouldHideURL() const = 0;
virtual void HideURL() = 0;
+ // Returns true if the pages URL host should not be emphasized.
+ virtual bool ShouldNotEmphasizeHost() const = 0;
+ virtual void DontEmphasizeHost() = 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/browser/webui/web_ui_impl.h ('K') | « content/browser/webui/web_ui_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698