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

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

Issue 1056002: Omnibox M5 work, part 1: Security changes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/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/gtk/location_bar_view_gtk.h
===================================================================
--- chrome/browser/gtk/location_bar_view_gtk.h (revision 42491)
+++ chrome/browser/gtk/location_bar_view_gtk.h (working copy)
@@ -120,9 +120,8 @@
const NotificationSource& source,
const NotificationDetails& details);
- // Translation between a security level and the background color. Both the
- // location bar and edit have to manage and match the background color.
- static const GdkColor kBackgroundColorByLevel[3];
+ // Edit background color.
+ static const GdkColor kBackgroundColor;
private:
class ContentSettingImageViewGtk : public InfoBubbleGtkDelegate {
@@ -276,7 +275,7 @@
LocationBarViewGtk* location_bar);
// Set the SSL icon we should be showing.
- void SetSecurityIcon(ToolbarModel::Icon icon);
+ void SetSecurityIcon(int resource_id);
// 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
@@ -308,12 +307,13 @@
// The outermost widget we want to be hosted.
OwnedWidgetGtk hbox_;
- // SSL icons.
+ // SSL state.
GtkWidget* security_icon_event_box_;
- GtkWidget* security_lock_icon_image_;
+ GtkWidget* ev_secure_icon_image_;
+ GtkWidget* secure_icon_image_;
GtkWidget* security_warning_icon_image_;
- // Toolbar info text (EV cert info).
- GtkWidget* info_label_;
+ GtkWidget* security_error_icon_image_;
+ GtkWidget* security_info_label_;
// Content setting icons.
OwnedWidgetGtk content_setting_hbox_;
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698