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

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: 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: 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..4ab51b9504392865eb0c4b062033ae212424fce6 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;
+ // Queries the delegate WebContent's WebUI and returns true when the URL
+ // for the current navigation entry should be entirely greyed out in the
+ // location bar.
Peter Kasting 2013/04/03 22:32:13 Nit: The comment shouldn't be talking about implem
Patrick Riordan 2013/04/04 01:01:37 Done.
+ 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