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

Side by Side Diff: chrome/common/gtk_util.h

Issue 425016: Linux: Create app modal dialogs in a different way to work around a KDE 3 win... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: with missing files 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gtk/repost_form_warning_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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 184 // Stacks a |popup| window directly on top of a |toplevel| window.
185 void StackPopupWindow(GtkWidget* popup, GtkWidget* toplevel); 185 void StackPopupWindow(GtkWidget* popup, GtkWidget* toplevel);
186 186
187 // Get a rectangle corresponding to a widget's allocation relative to its 187 // Get a rectangle corresponding to a widget's allocation relative to its
188 // toplevel window's origin. 188 // toplevel window's origin.
189 gfx::Rect GetWidgetRectRelativeToToplevel(GtkWidget* widget); 189 gfx::Rect GetWidgetRectRelativeToToplevel(GtkWidget* widget);
190 190
191 // A helper function for gtk_message_dialog_new() to work around a KDE 3 window
192 // manager bugs. You should always call it after creating a dialog with
193 // gtk_message_dialog_new.
194 void ApplyMessageDialogQuirks(GtkWidget* dialog);
195
191 } // namespace gtk_util 196 } // namespace gtk_util
192 197
193 #endif // CHROME_COMMON_GTK_UTIL_H_ 198 #endif // CHROME_COMMON_GTK_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/repost_form_warning_gtk.cc ('k') | chrome/common/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698