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

Unified Diff: chrome/browser/views/autocomplete/autocomplete_popup_gtk.h

Issue 391011: Avoid inconsistent state (leading to checkfailures) due to Windows minimize/r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
Index: chrome/browser/views/autocomplete/autocomplete_popup_gtk.h
===================================================================
--- chrome/browser/views/autocomplete/autocomplete_popup_gtk.h (revision 31645)
+++ chrome/browser/views/autocomplete/autocomplete_popup_gtk.h (working copy)
@@ -12,32 +12,12 @@
class AutocompletePopupGtk : public views::WidgetGtk {
public:
- explicit AutocompletePopupGtk(AutocompletePopupContentsView* contents);
+ // Creates the popup and shows it. |edit_view| is the edit that created us.
+ AutocompletePopupGtk(AutocompleteEditView* edit_view,
+ 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);
-
- // 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();
-
- AutocompletePopupContentsView* contents_;
- AutocompleteEditView* edit_view_;
-
- bool is_open_; // Used only for sanity-checking.
-
DISALLOW_COPY_AND_ASSIGN(AutocompletePopupGtk);
};

Powered by Google App Engine
This is Rietveld 408576698