| Index: chrome/browser/views/autocomplete/autocomplete_popup_gtk.h
|
| ===================================================================
|
| --- chrome/browser/views/autocomplete/autocomplete_popup_gtk.h (revision 30908)
|
| +++ chrome/browser/views/autocomplete/autocomplete_popup_gtk.h (working copy)
|
| @@ -15,26 +15,29 @@
|
| explicit AutocompletePopupGtk(AutocompletePopupContentsView* contents);
|
| virtual ~AutocompletePopupGtk();
|
|
|
| + // Overridden from WidgetWin:
|
| + virtual void Show();
|
| + virtual void Hide();
|
| +
|
| // Creates the popup and shows it for the first time. |edit_view| is the edit
|
| // that created us.
|
| void Init(AutocompleteEditView* edit_view, views::View* contents);
|
|
|
| - // Shows the popup and moves it to the right position.
|
| - void Show();
|
| -
|
| // Returns true if the popup is open.
|
| bool IsOpen() const;
|
|
|
| // Returns true if the popup has been created.
|
| bool IsCreated() const;
|
|
|
| + private:
|
| // Restack the popup window directly above the browser's toplevel window.
|
| void StackWindow();
|
|
|
| - private:
|
| AutocompletePopupContentsView* contents_;
|
| AutocompleteEditView* edit_view_;
|
|
|
| + bool is_open_; // Used only for sanity-checking.
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AutocompletePopupGtk);
|
| };
|
|
|
|
|