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

Unified Diff: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h

Issue 10103012: GTK: Stop listening to gtk signals in the omnibox before destroying the model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | chrome/browser/ui/gtk/omnibox/omnibox_popup_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/omnibox/omnibox_popup_view_gtk.h
diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
index e23b2fced5181e129d03cf302033c9726590742f..bd0f8c2d6a6d3f73597927f6bbbca1a81429f1d0 100644
--- a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
+++ b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
@@ -32,6 +32,10 @@ namespace gfx {
class Image;
}
+namespace ui {
+class GtkSignalRegistrar;
+}
+
class OmniboxPopupViewGtk : public AutocompletePopupView,
public content::NotificationObserver {
public:
@@ -101,6 +105,7 @@ class OmniboxPopupViewGtk : public AutocompletePopupView,
CHROMEGTK_CALLBACK_1(OmniboxPopupViewGtk, gboolean, HandleExpose,
GdkEventExpose*);
+ scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_;
scoped_ptr<AutocompletePopupModel> model_;
OmniboxView* omnibox_view_;
GtkWidget* location_bar_;
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698