summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/libgtk2ui/gtk2_util.h
blob: b1673dfc24d0a8aeebf1226c3e47f105d0acad24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_
#define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_

typedef struct _GdkPixbuf GdkPixbuf;

class CommandLine;
class SkBitmap;

namespace libgtk2ui {

void GtkInitFromCommandLine(const CommandLine& command_line);

const SkBitmap GdkPixbufToImageSkia(GdkPixbuf* pixbuf);

}  // namespace libgtk2ui

#endif  // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_