summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/autocomplete/autocomplete_popup_win.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 19:40:33 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 19:40:33 +0000
commitfb5153c5dd44a771be0cbd030a02eccf5cde76ed (patch)
treef1533b6d48fc5d4bc88729cb4a7fa885ca6e7d1a /chrome/browser/views/autocomplete/autocomplete_popup_win.h
parent7df4348513bd316224dbc1399990a2538c55a5bc (diff)
downloadchromium_src-fb5153c5dd44a771be0cbd030a02eccf5cde76ed.zip
chromium_src-fb5153c5dd44a771be0cbd030a02eccf5cde76ed.tar.gz
chromium_src-fb5153c5dd44a771be0cbd030a02eccf5cde76ed.tar.bz2
Make TOOLKIT_VIEWS port use views-based Autocomplete popup.
The popups now interact with the edit via AutocompleteEditView rather than the platform-specific types. Note this also removes the old omnibox popup code. It hasn't been active for some time. BUG=none TEST=none Review URL: http://codereview.chromium.org/160378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22168 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/autocomplete/autocomplete_popup_win.h')
-rw-r--r--chrome/browser/views/autocomplete/autocomplete_popup_win.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome/browser/views/autocomplete/autocomplete_popup_win.h b/chrome/browser/views/autocomplete/autocomplete_popup_win.h
index d77ba7b..8e33f56 100644
--- a/chrome/browser/views/autocomplete/autocomplete_popup_win.h
+++ b/chrome/browser/views/autocomplete/autocomplete_popup_win.h
@@ -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 @@ class AutocompletePopupWin : public views::WidgetWin {
// 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,