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

Side by Side Diff: chrome/browser/views/autocomplete/autocomplete_popup_gtk.h

Issue 274046: Linux: Stack autocomplete popup window directly on top of the browser's tople... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_ 5 #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_
6 #define CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_ 6 #define CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_
7 7
8 #include "views/widget/widget_gtk.h" 8 #include "views/widget/widget_gtk.h"
9 9
10 class AutocompleteEditView; 10 class AutocompleteEditView;
(...skipping 10 matching lines...) Expand all
21 21
22 // Shows the popup and moves it to the right position. 22 // Shows the popup and moves it to the right position.
23 void Show(); 23 void Show();
24 24
25 // Returns true if the popup is open. 25 // Returns true if the popup is open.
26 bool IsOpen() const; 26 bool IsOpen() const;
27 27
28 // Returns true if the popup has been created. 28 // Returns true if the popup has been created.
29 bool IsCreated() const; 29 bool IsCreated() const;
30 30
31 // Restack the popup window directly above the browser's toplevel window.
32 void StackWindow();
33
31 private: 34 private:
32 AutocompletePopupContentsView* contents_; 35 AutocompletePopupContentsView* contents_;
36 AutocompleteEditView* edit_view_;
33 37
34 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupGtk); 38 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupGtk);
35 }; 39 };
36 40
37 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_ 41 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/info_bubble_gtk.cc ('k') | chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698