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

Side by Side Diff: chrome/browser/ui/views/autocomplete/autocomplete_popup_win.h

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_WIN_H_
7 #pragma once
8
9 #include "base/memory/weak_ptr.h"
10 #include "views/widget/widget_win.h"
11
12 class AutocompletePopupWin
13 : public views::WidgetWin,
14 public base::SupportsWeakPtr<AutocompletePopupWin> {
15 public:
16 // Creates the popup and shows it. |edit_view| is the edit that created us.
17 AutocompletePopupWin();
18 virtual ~AutocompletePopupWin();
19
20 // Returns the window the popup should be relative to. |edit_native_view| is
21 // the native view of the autocomplete edit.
22 gfx::NativeView GetRelativeWindowForPopup(
23 gfx::NativeView edit_native_view) const;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupWin);
27 };
28
29 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698