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

Unified Diff: chrome/browser/ui/views/location_bar/location_icon_view.h

Issue 2555063003: Render extension URLs with chips (Closed)
Patch Set: Chip -> text Created 4 years 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/views/location_bar/location_icon_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.h b/chrome/browser/ui/views/location_bar/location_icon_view.h
index a16501dfaaf0ed16014b40692228bb96efa5d3fc..ac083689d0f4491200fd779f1357857a7143f294 100644
--- a/chrome/browser/ui/views/location_bar/location_icon_view.h
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.h
@@ -18,7 +18,8 @@ class LocatedEvent;
// Use a LocationIconView to display an icon on the leading side of the edit
// field. It shows the user's current action (while the user is editing), or the
-// page security status (after navigation has completed).
+// page security status (after navigation has completed), or extension name (if
+// the URL is a chrome-extension:// URL).
class LocationIconView : public IconLabelBubbleView,
public gfx::AnimationDelegate {
public:
@@ -46,10 +47,9 @@ class LocationIconView : public IconLabelBubbleView,
const gfx::FontList& GetFontList() const { return font_list(); }
- // Sets whether the verbose security state text should be visible.
- // |should_animate| controls whether any necessary transition to this state
- // should be animated.
- void SetSecurityState(bool should_show, bool should_animate);
+ // Sets whether the text should be visible. |should_animate| controls whether
+ // any necessary transition to this state should be animated.
+ void SetTextVisibility(bool should_show, bool should_animate);
private:
// IconLabelBubbleView:
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/location_bar/location_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698