summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gtk_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gtk_util.h')
-rw-r--r--ui/gfx/gtk_util.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ui/gfx/gtk_util.h b/ui/gfx/gtk_util.h
index 91f864b..7607603 100644
--- a/ui/gfx/gtk_util.h
+++ b/ui/gfx/gtk_util.h
@@ -14,9 +14,12 @@ typedef struct _GdkPixbuf GdkPixbuf;
typedef struct _GdkRegion GdkRegion;
typedef struct _GdkCursor GdkCursor;
-class CommandLine;
class SkBitmap;
+namespace base {
+class CommandLine;
+}
+
namespace gfx {
class Rect;
@@ -24,8 +27,8 @@ class Rect;
// Call gtk_init() / gdk_init() using the argc and argv from command_line.
// These init functions want an argc and argv that they can mutate; we provide
// those, but leave the original CommandLine unaltered.
-GFX_EXPORT void GtkInitFromCommandLine(const CommandLine& command_line);
-GFX_EXPORT void GdkInitFromCommandLine(const CommandLine& command_line);
+GFX_EXPORT void GtkInitFromCommandLine(const base::CommandLine& command_line);
+GFX_EXPORT void GdkInitFromCommandLine(const base::CommandLine& command_line);
// Convert and copy a SkBitmap to a GdkPixbuf. NOTE: this uses BGRAToRGBA, so
// it is an expensive operation. The returned GdkPixbuf will have a refcount of