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

Unified Diff: chrome/browser/ui/toolbar/toolbar_model.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: Implementation does not depend on having a host and fixed 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: chrome/browser/ui/toolbar/toolbar_model.h
diff --git a/chrome/browser/ui/toolbar/toolbar_model.h b/chrome/browser/ui/toolbar/toolbar_model.h
index c9aead57fff741cfa46fb07dc355dc6b48afb5a5..d1bf0826df1dc93e3808653d80f2a6e00b4db5e1 100644
--- a/chrome/browser/ui/toolbar/toolbar_model.h
+++ b/chrome/browser/ui/toolbar/toolbar_model.h
@@ -70,6 +70,11 @@ class ToolbarModel {
// in the location bar.
virtual bool ShouldDisplayURL() const = 0;
+ // Returns whether the URL for the current navigation entry should be
+ // displayed in all grey, as opposed to with the host in black (the default
+ // behavior).
+ virtual bool ShouldGreyOutURL() const = 0;
+
// Getter/setter of whether the text in location bar is currently being
// edited.
virtual void SetInputInProgress(bool value) = 0;

Powered by Google App Engine
This is Rietveld 408576698