| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_UI_GTK_GTK_UTIL_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_GTK_UTIL_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_GTK_UTIL_H_ | 6 #define CHROME_BROWSER_UI_GTK_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> |
| 11 | 11 |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "ui/base/window_open_disposition.h" |
| 13 #include "ui/base/x/x11_util.h" | 14 #include "ui/base/x/x11_util.h" |
| 14 #include "ui/gfx/point.h" | 15 #include "ui/gfx/point.h" |
| 15 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
| 16 #include "webkit/glue/window_open_disposition.h" | |
| 17 | 17 |
| 18 typedef struct _cairo cairo_t; | 18 typedef struct _cairo cairo_t; |
| 19 typedef struct _GdkColor GdkColor; | 19 typedef struct _GdkColor GdkColor; |
| 20 typedef struct _GtkWidget GtkWidget; | 20 typedef struct _GtkWidget GtkWidget; |
| 21 | 21 |
| 22 class BrowserWindow; | 22 class BrowserWindow; |
| 23 class GtkThemeService; | 23 class GtkThemeService; |
| 24 class GURL; | 24 class GURL; |
| 25 class Profile; | 25 class Profile; |
| 26 | 26 |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 void InitLabelSizeRequestAndEllipsizeMode(GtkWidget* label); | 304 void InitLabelSizeRequestAndEllipsizeMode(GtkWidget* label); |
| 305 | 305 |
| 306 // A helper function for gtk_message_dialog_new() to work around a few KDE 3 | 306 // A helper function for gtk_message_dialog_new() to work around a few KDE 3 |
| 307 // window manager bugs. You should always call it after creating a dialog with | 307 // window manager bugs. You should always call it after creating a dialog with |
| 308 // gtk_message_dialog_new. | 308 // gtk_message_dialog_new. |
| 309 void ApplyMessageDialogQuirks(GtkWidget* dialog); | 309 void ApplyMessageDialogQuirks(GtkWidget* dialog); |
| 310 | 310 |
| 311 } // namespace gtk_util | 311 } // namespace gtk_util |
| 312 | 312 |
| 313 #endif // CHROME_BROWSER_UI_GTK_GTK_UTIL_H_ | 313 #endif // CHROME_BROWSER_UI_GTK_GTK_UTIL_H_ |
| OLD | NEW |