diff options
Diffstat (limited to 'chrome/browser/ui/views/autocomplete/autocomplete_popup_gtk.h')
-rw-r--r-- | chrome/browser/ui/views/autocomplete/autocomplete_popup_gtk.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_popup_gtk.h b/chrome/browser/ui/views/autocomplete/autocomplete_popup_gtk.h new file mode 100644 index 0000000..c2638d6 --- /dev/null +++ b/chrome/browser/ui/views/autocomplete/autocomplete_popup_gtk.h @@ -0,0 +1,28 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_ +#define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_ +#pragma once + +#include "base/weak_ptr.h" +#include "views/widget/widget_gtk.h" + +class AutocompleteEditView; +class AutocompletePopupContentsView; + +class AutocompletePopupGtk + : public views::WidgetGtk, + public base::SupportsWeakPtr<AutocompletePopupGtk> { + public: + // Creates the popup and shows it. |edit_view| is the edit that created us. + AutocompletePopupGtk(AutocompleteEditView* edit_view, + AutocompletePopupContentsView* contents); + virtual ~AutocompletePopupGtk(); + + private: + DISALLOW_COPY_AND_ASSIGN(AutocompletePopupGtk); +}; + +#endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_ |