Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
index 345eb2a1996b26736fa905d9c7e35a804ccce483..7b35e1c639c9395067b180c7db5a96edcbf82c5a 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
@@ -26,6 +26,7 @@ |
class CommandUpdater; |
class ContentSettingDecoration; |
class EVBubbleDecoration; |
+class SecureVerboseBubbleDecoration; |
class KeywordHintDecoration; |
class LocationBarDecoration; |
class LocationIconDecoration; |
@@ -184,8 +185,17 @@ class LocationBarViewMac : public LocationBar, |
content::WebContents* GetWebContents() override; |
bool ShouldShowEVBubble() const; |
+ |
+ // Returns true if the secure verbose decoration should be displayed. This |
+ // includes the EV cert decoration. For Phase 1, the verbose shouldn't be |
+ // displayed for "Not Secure". |
+ bool ShouldShowSecureVerbose() const; |
+ |
NSImage* GetKeywordImage(const base::string16& keyword); |
+ // Returns the color for the vector icon in the location bar. |
+ SkColor GetLocationBarIconColor() const; |
+ |
AutocompleteTextField* GetAutocompleteTextField() { return field_; } |
// Returns true if the location bar is dark. |
@@ -262,6 +272,11 @@ class LocationBarViewMac : public LocationBar, |
// A decoration that shows the keyword-search bubble on the left. |
std::unique_ptr<SelectedKeywordDecoration> selected_keyword_decoration_; |
+ // A decoration that shows a security icon and the secure verbose in a |
+ // bubble on the left. |
+ std::unique_ptr<SecureVerboseBubbleDecoration> |
+ secure_verbose_bubble_decoration_; |
+ |
// A decoration that shows a lock icon and ev-cert label in a bubble |
// on the left. |
std::unique_ptr<EVBubbleDecoration> ev_bubble_decoration_; |