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

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

Issue 160378: Make TOOLKIT_VIEWS port use views-based Autocomplete popup.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
Index: chrome/browser/views/autocomplete/autocomplete_popup_win.h
===================================================================
--- chrome/browser/views/autocomplete/autocomplete_popup_win.h (revision 21913)
+++ chrome/browser/views/autocomplete/autocomplete_popup_win.h (working copy)
@@ -7,7 +7,7 @@
#include "views/widget/widget_win.h"
-class AutocompleteEditViewWin;
+class AutocompleteEditView;
class AutocompletePopupContentsView;
class AutocompletePopupWin : public views::WidgetWin {
@@ -17,11 +17,17 @@
// Creates the popup and shows it for the first time. |edit_view| is the edit
// that created us.
- void Init(AutocompleteEditViewWin* edit_view, views::View* contents);
+ 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;
+
protected:
// Overridden from WidgetWin:
virtual LRESULT OnMouseActivate(HWND window,

Powered by Google App Engine
This is Rietveld 408576698