diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 20:05:35 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 20:05:35 +0000 |
commit | 5dc21090414efa5635c57c94e9c647f819dccfec (patch) | |
tree | 79dbe4e9898f517c48585426a4f1b15f119ead8d /chrome/browser/gtk/location_bar_view_gtk.h | |
parent | 8adbf7e5d0af7fec5d3fde8d472716739d3183fc (diff) | |
download | chromium_src-5dc21090414efa5635c57c94e9c647f819dccfec.zip chromium_src-5dc21090414efa5635c57c94e9c647f819dccfec.tar.gz chromium_src-5dc21090414efa5635c57c94e9c647f819dccfec.tar.bz2 |
GTK: Prevent inappropriate drag of location bar location icon.
BUG=40840
TEST=manual
Review URL: http://codereview.chromium.org/1607018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/location_bar_view_gtk.h')
-rw-r--r-- | chrome/browser/gtk/location_bar_view_gtk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h index cf7b02f..d8ce564 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.h +++ b/chrome/browser/gtk/location_bar_view_gtk.h @@ -265,6 +265,9 @@ class LocationBarViewGtk : public AutocompleteEditController, // Creates, initializes, and packs the location icon + related widgets. void BuildLocationIcon(); + // Enable or disable the location icon as a drag source for the URL. + void SetLocationIconDragSource(); + GtkWidget* location_icon() { return location_icon_alignment_; } CHROMEGTK_CALLBACK_1(LocationBarViewGtk, gboolean, HandleExpose, @@ -326,7 +329,9 @@ class LocationBarViewGtk : public AutocompleteEditController, GtkWidget* security_error_icon_image_; // An icon to the left of the address bar. GtkWidget* location_icon_alignment_; + GtkWidget* location_icon_event_box_; GtkWidget* location_icon_image_; + bool enable_location_drag_; // TODO(pkasting): Split this label off and move the rest of the items to the // left of the address bar. GtkWidget* security_info_label_; |