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

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

Issue 385041: Merge crash fix to 3.0.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/195/src/
Patch Set: Created 11 years, 1 month 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 31682)
+++ chrome/browser/views/autocomplete/autocomplete_popup_win.h (working copy)
@@ -12,25 +12,17 @@
class AutocompletePopupWin : public views::WidgetWin {
public:
- explicit AutocompletePopupWin(AutocompletePopupContentsView* contents);
+ // Creates the popup and shows it. |edit_view| is the edit that created us.
+ AutocompletePopupWin(AutocompleteEditView* edit_view,
+ AutocompletePopupContentsView* contents);
virtual ~AutocompletePopupWin();
- // 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);
-
- // Shows the popup and moves it to the right position.
- void Show();
-
- protected:
+ private:
// Overridden from WidgetWin:
virtual LRESULT OnMouseActivate(HWND window,
UINT hit_test,
UINT mouse_message);
- private:
- AutocompletePopupContentsView* contents_;
-
DISALLOW_COPY_AND_ASSIGN(AutocompletePopupWin);
};

Powered by Google App Engine
This is Rietveld 408576698