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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove "httpsv" scheme, minor NSS/OpenSSL changes Created 9 years, 8 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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/location_bar_view_gtk.h
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h
index 33b611183dd9da4c58f5c388abb2fcd785f42f7f..77fb117a27e048fa4037aab8cba7e368ff5128f3 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h
@@ -283,6 +283,9 @@ class LocationBarViewGtk : public AutocompleteEditController,
GtkWidget* site_type_area() { return site_type_alignment_; }
+ // Creates and initializes the account area.
+ void BuildAccountArea();
+
CHROMEGTK_CALLBACK_1(LocationBarViewGtk, gboolean, HandleExpose,
GdkEventExpose*);
CHROMEGTK_CALLBACK_1(LocationBarViewGtk, gboolean, OnIconReleased,
@@ -307,6 +310,12 @@ class LocationBarViewGtk : public AutocompleteEditController,
// Updates the maximum size of the EV certificate label.
void UpdateEVCertificateLabelSize();
+ // Updates the account area: changes the username or login state.
+ void UpdateAccountArea();
+
+ // Updates the maximum size of the account label.
+ void UpdateAccountLabelSize();
+
// Sets the text that should be displayed in the info label and its associated
// tooltip text. Call with an empty string if the info label should be
// hidden.
@@ -353,6 +362,12 @@ class LocationBarViewGtk : public AutocompleteEditController,
// left of the address bar.
GtkWidget* security_info_label_;
+ // Account bubble.
+ OwnedWidgetGtk account_alignment_;
+ OwnedWidgetGtk account_event_box_;
+ OwnedWidgetGtk account_icon_image_;
+ GtkWidget* account_label_;
+
// Content setting icons.
OwnedWidgetGtk content_setting_hbox_;
ScopedVector<ContentSettingImageViewGtk> content_setting_views_;
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698