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

Side by Side Diff: chrome/common/gtk_util.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
« no previous file with comments | « chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc ('k') | chrome/common/gtk_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_GTK_UTIL_H_ 5 #ifndef CHROME_COMMON_GTK_UTIL_H_
6 #define CHROME_COMMON_GTK_UTIL_H_ 6 #define CHROME_COMMON_GTK_UTIL_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // Show the image for the given menu item, even if the user's default is to not 174 // Show the image for the given menu item, even if the user's default is to not
175 // show images. Only to be used for favicons or other menus where the image is 175 // show images. Only to be used for favicons or other menus where the image is
176 // crucial to its functionality. 176 // crucial to its functionality.
177 void SetAlwaysShowImage(GtkWidget* image_menu_item); 177 void SetAlwaysShowImage(GtkWidget* image_menu_item);
178 178
179 // Returns a static instance of a GdkCursor* object, sharable across the 179 // Returns a static instance of a GdkCursor* object, sharable across the
180 // process. Returns a GdkCursor with a +1 refcount, as if it was just created 180 // process. Returns a GdkCursor with a +1 refcount, as if it was just created
181 // with gdk_cursor_new(); owner must gdk_cursor_unref() it when done with it. 181 // with gdk_cursor_new(); owner must gdk_cursor_unref() it when done with it.
182 GdkCursor* GetCursor(GdkCursorType type); 182 GdkCursor* GetCursor(GdkCursorType type);
183 183
184 // Stacks a |popup| window directly on top of a |toplevel| window.
185 void StackPopupWindow(GtkWidget* popup, GtkWidget* toplevel);
186
184 } // namespace gtk_util 187 } // namespace gtk_util
185 188
186 #endif // CHROME_COMMON_GTK_UTIL_H_ 189 #endif // CHROME_COMMON_GTK_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc ('k') | chrome/common/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698