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

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

Issue 113539: linux: unify all the dialog layout code for visual consistency. (Closed)
Patch Set: last second Created 11 years, 7 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
« no previous file with comments | « chrome/browser/gtk/options/options_window_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 9
10 #include "webkit/glue/window_open_disposition.h" 10 #include "webkit/glue/window_open_disposition.h"
(...skipping 12 matching lines...) Expand all
23 namespace gtk_util { 23 namespace gtk_util {
24 24
25 // Create a GtkBin with |child| as its child widget. This bin will paint a 25 // Create a GtkBin with |child| as its child widget. This bin will paint a
26 // border of color |color| with the sizes specified in pixels. 26 // border of color |color| with the sizes specified in pixels.
27 GtkWidget* CreateGtkBorderBin(GtkWidget* child, const GdkColor* color, 27 GtkWidget* CreateGtkBorderBin(GtkWidget* child, const GdkColor* color,
28 int top, int bottom, int left, int right); 28 int top, int bottom, int left, int right);
29 29
30 // Remove all children from this container. 30 // Remove all children from this container.
31 void RemoveAllChildren(GtkWidget* container); 31 void RemoveAllChildren(GtkWidget* container);
32 32
33 // Initialize some GTK settings so that our dialogs are consistent.
34 void InitRCStyles();
35
33 } // namespace gtk_util 36 } // namespace gtk_util
34 37
35 #endif // CHROME_COMMON_GTK_UTIL_H_ 38 #endif // CHROME_COMMON_GTK_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/options_window_gtk.cc ('k') | chrome/common/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698