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

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

Issue 424383002: Experiment with displaying origins in the Omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index c922f53dab7e2d00f53546824ad74650120d6ee8..382338794d927c1e13f757c0fd3458dfcbc8d2ea 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -328,6 +328,9 @@ class LocationBarView : public LocationBar,
bool ShouldShowKeywordBubble() const;
bool ShouldShowEVBubble() const;
+ bool ShouldShowGoodBubble() const;
+ bool ShouldShowDubiousBubble() const;
+ bool ShouldShowBadBubble() const;
// Used to "reverse" the URL showing/hiding animations, since we use separate
// animations whose curves are not true inverses of each other. Based on the
@@ -438,6 +441,16 @@ class LocationBarView : public LocationBar,
// A bubble displayed for EV HTTPS sites.
EVBubbleView* ev_bubble_view_;
+ // A bubble displayed for Good HTTPS sites.
+ EVBubbleView* good_bubble_view_;
+
+ // A bubble displayed for Dubious HTTPS sites.
+ EVBubbleView* dubious_bubble_view_;
+
+ // A bubble displayed for Bad (unauthenticated, potential-impostor, or
+ // known-impostor) sites.
+ EVBubbleView* bad_bubble_view_;
+
// A view to show inline autocompletion when an IME is active. In this case,
// we shouldn't change the text or selection inside the OmniboxView itself,
// since this will conflict with the IME's control over the text. So instead
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model_impl.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698