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

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

Issue 361020: Fix checkfailure on Linux Views build by actually opening the popup when it's... (Closed) Base URL: svn://chrome-svn/chrome/trunk/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
« no previous file with comments | « no previous file | chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/autocomplete/autocomplete_popup_gtk.h
===================================================================
--- chrome/browser/views/autocomplete/autocomplete_popup_gtk.h (revision 30908)
+++ chrome/browser/views/autocomplete/autocomplete_popup_gtk.h (working copy)
@@ -15,26 +15,29 @@
explicit AutocompletePopupGtk(AutocompletePopupContentsView* contents);
virtual ~AutocompletePopupGtk();
+ // Overridden from WidgetWin:
+ virtual void Show();
+ virtual void Hide();
+
// Creates the popup and shows it for the first time. |edit_view| is the edit
// that created us.
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;
+ private:
// Restack the popup window directly above the browser's toplevel window.
void StackWindow();
- private:
AutocompletePopupContentsView* contents_;
AutocompleteEditView* edit_view_;
+ bool is_open_; // Used only for sanity-checking.
+
DISALLOW_COPY_AND_ASSIGN(AutocompletePopupGtk);
};
« no previous file with comments | « no previous file | chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698