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

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: Fixed comment nits 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..a7ab8bc3e7fde71f4c2ec3b4d9634494f50c4d60 100644
--- a/content/public/browser/web_ui.h
+++ b/content/public/browser/web_ui.h
@@ -72,6 +72,11 @@ class CONTENT_EXPORT WebUI {
virtual bool ShouldHideURL() const = 0;
virtual void HideURL() = 0;
+ // Returns true if the pages URL should be entirely greyed out, currently
Peter Kasting 2013/04/03 22:32:13 Nit: Comma -> period and capitalize next word
Patrick Riordan 2013/04/04 01:01:37 Done.
+ // this is only the case for chrome-extension:// URLs.
+ virtual bool ShouldGreyOutURL() const = 0;
+ virtual void GreyOutURL() = 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.
« chrome/browser/ui/views/omnibox/omnibox_view_win.cc ('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