summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_edit_view_gtk.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/autocomplete/autocomplete_edit_view_gtk.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/autocomplete/autocomplete_edit_view_gtk.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_gtk.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
index 3c1c491..bd91442 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
@@ -19,7 +19,7 @@
class AutocompleteEditController;
class AutocompleteEditModel;
class AutocompletePopupPositioner;
-class AutocompletePopupViewGtk;
+class AutocompletePopupView;
class CommandUpdater;
class Profile;
class TabContents;
@@ -97,6 +97,7 @@ class AutocompleteEditViewGtk : public AutocompleteEditView {
virtual void OnRevertTemporaryText();
virtual void OnBeforePossibleChange();
virtual bool OnAfterPossibleChange();
+ virtual gfx::NativeView GetNativeView() const;
private:
// TODO(deanm): Would be nice to insulate the thunkers better, etc.
@@ -287,7 +288,7 @@ class AutocompleteEditViewGtk : public AutocompleteEditView {
GtkTextTag* black_text_tag_;
scoped_ptr<AutocompleteEditModel> model_;
- scoped_ptr<AutocompletePopupViewGtk> popup_view_;
+ scoped_ptr<AutocompletePopupView> popup_view_;
AutocompleteEditController* controller_;
ToolbarModel* toolbar_model_;