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

Unified Diff: content/browser/webui/web_ui_impl.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: Removed the correct extra newline 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/browser/webui/web_ui_impl.h
diff --git a/content/browser/webui/web_ui_impl.h b/content/browser/webui/web_ui_impl.h
index 49d9b4bb72808ac8afaee15d696db46073b2a1b3..00d085c824b7ffe778accbd6f1334073fbfb8053 100644
--- a/content/browser/webui/web_ui_impl.h
+++ b/content/browser/webui/web_ui_impl.h
@@ -38,6 +38,8 @@ class CONTENT_EXPORT WebUIImpl : public WebUI,
virtual void FocusLocationBarByDefault() OVERRIDE;
virtual bool ShouldHideURL() const OVERRIDE;
virtual void HideURL() OVERRIDE;
+ virtual bool ShouldGreyOutURL() const OVERRIDE;
+ virtual void GreyOutURL() OVERRIDE;
virtual const string16& GetOverriddenTitle() const OVERRIDE;
virtual void OverrideTitle(const string16& title) OVERRIDE;
virtual PageTransition GetLinkTransitionType() const OVERRIDE;
@@ -94,6 +96,7 @@ class CONTENT_EXPORT WebUIImpl : public WebUI,
bool hide_favicon_;
bool focus_location_bar_by_default_;
bool should_hide_url_;
+ bool should_grey_out_url_;
string16 overridden_title_; // Defaults to empty string.
PageTransition link_transition_type_; // Defaults to LINK.
int bindings_; // The bindings from BindingsPolicy that should be enabled for

Powered by Google App Engine
This is Rietveld 408576698