summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/location_bar_view_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/location_bar_view_gtk.h')
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h
index c60d463..e09ff3f 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/gtk/location_bar_view_gtk.h
@@ -82,12 +82,21 @@ class LocationBarViewGtk : public AutocompleteEditController,
return reinterpret_cast<LocationBarViewGtk*>(userdata)->
HandleExpose(widget, event);
}
-
gboolean HandleExpose(GtkWidget* widget, GdkEventExpose* event);
+ // Calculate and set what the padding should be around the location entry.
+ // For example, we will increase the right padding to make room for an icon.
+ void UpdateAlignmentPadding();
+
+ // Set the SSL icon we should be showing.
+ void SetSecurityIcon(ToolbarModel::Icon icon);
+
// The outermost widget we want to be hosted.
OwnedWidgetGtk alignment_;
+ // The current SSL icon we are showing, or NULL.
+ GdkPixbuf* security_icon_;
+
scoped_ptr<AutocompleteEditViewGtk> location_entry_;
Profile* profile_;