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

Unified Diff: chrome/browser/views/autocomplete/autocomplete_popup_win.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_win.h
===================================================================
--- chrome/browser/views/autocomplete/autocomplete_popup_win.h (revision 31645)
+++ chrome/browser/views/autocomplete/autocomplete_popup_win.h (working copy)
@@ -12,34 +12,17 @@
class AutocompletePopupWin : public views::WidgetWin {
public:
- explicit AutocompletePopupWin(AutocompletePopupContentsView* contents);
+ // Creates the popup and shows it. |edit_view| is the edit that created us.
+ AutocompletePopupWin(AutocompleteEditView* edit_view,
+ AutocompletePopupContentsView* contents);
virtual ~AutocompletePopupWin();
+ private:
// 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;
-
- protected:
- // Overridden from WidgetWin:
virtual LRESULT OnMouseActivate(HWND window,
UINT hit_test,
UINT mouse_message);
- private:
- AutocompletePopupContentsView* contents_;
-
- bool is_open_; // Used only for sanity-checking.
-
DISALLOW_COPY_AND_ASSIGN(AutocompletePopupWin);
};

Powered by Google App Engine
This is Rietveld 408576698