Chromium Code Reviews| 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..2c300c5d53f92bdcd30ebb080c90692f2688eff8 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 SetDisplayState(bool should_show, bool should_animate); |
|
Peter Kasting
2016/12/14 22:47:07
Nit: I'd call this SetTextVisibility().
meacer
2016/12/16 18:46:18
Done.
|
| private: |
| // IconLabelBubbleView: |