diff options
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup_view_gtk.h')
-rwxr-xr-x | chrome/browser/autocomplete/autocomplete_popup_view_gtk.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h index f515fa6..199fb23 100755 --- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h @@ -48,13 +48,18 @@ class AutocompletePopupViewGtk : public AutocompletePopupView { gboolean HandleExpose(GtkWidget* widget, GdkEventExpose* event); - PangoFontDescription* font_; - scoped_ptr<AutocompletePopupModel> model_; AutocompleteEditViewGtk* edit_view_; + // Our popup window, which is the only widget used, and we paint it on our + // own. This widget shouldn't be exposed outside of this class. GtkWidget* window_; + // The graphics context created from the window, cached across exposes. + GdkGC* gc_; + // The pango layout object created from the window, cached across exposes. + PangoLayout* layout_; + // Whether our popup is currently open / shown, or closed / hidden. bool opened_; DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewGtk); |