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

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: 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/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..ffc4254c58e5a02832cd6c20b48a49a0ee7d5fe7 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 ShouldNotEmphasizeHost() const OVERRIDE;
+ virtual void DontEmphasizeHost() 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_not_emphasize_host_;
Devlin 2013/03/27 15:59:52 Might be worth commenting (probably at the getters
Patrick Riordan 2013/03/27 19:43:28 Done.
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