OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_LIBGTKUI_GTK_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_GTK_UI_H_ |
6 #define CHROME_BROWSER_UI_LIBGTKUI_GTK_UI_H_ | 6 #define CHROME_BROWSER_UI_LIBGTKUI_GTK_UI_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "chrome/browser/ui/libgtkui/gtk_signal.h" | 15 #include "chrome/browser/ui/libgtkui/gtk_signal.h" |
16 #include "chrome/browser/ui/libgtkui/libgtkui_export.h" | 16 #include "chrome/browser/ui/libgtkui/libgtkui_export.h" |
17 #include "ui/gfx/color_utils.h" | 17 #include "ui/gfx/color_utils.h" |
18 #include "ui/views/linux_ui/linux_ui.h" | 18 #include "ui/views/linux_ui/linux_ui.h" |
19 #include "ui/views/window/frame_buttons.h" | 19 #include "ui/views/window/frame_buttons.h" |
20 | 20 |
21 typedef struct _GtkStyle GtkStyle; | 21 typedef struct _GtkStyle GtkStyle; |
22 typedef struct _GtkWidget GtkWidget; | 22 typedef struct _GtkWidget GtkWidget; |
23 | 23 |
24 class SkBitmap; | |
25 | |
26 namespace libgtkui { | 24 namespace libgtkui { |
27 class Gtk2KeyBindingsHandler; | 25 class Gtk2KeyBindingsHandler; |
28 class GConfListener; | 26 class GConfListener; |
29 | 27 |
30 // Interface to GTK2 desktop features. | 28 // Interface to GTK2 desktop features. |
31 // | 29 // |
32 class Gtk2UI : public views::LinuxUI { | 30 class Gtk2UI : public views::LinuxUI { |
33 public: | 31 public: |
34 Gtk2UI(); | 32 Gtk2UI(); |
35 ~Gtk2UI() override; | 33 ~Gtk2UI() override; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 } // namespace libgtkui | 207 } // namespace libgtkui |
210 | 208 |
211 // Access point to the GTK2 desktop system. This should be the only symbol that | 209 // Access point to the GTK2 desktop system. This should be the only symbol that |
212 // is exported in the library; everything else should be used through the | 210 // is exported in the library; everything else should be used through the |
213 // interface, because eventually this .so will be loaded through dlopen at | 211 // interface, because eventually this .so will be loaded through dlopen at |
214 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or | 212 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or |
215 // QT or whatever. | 213 // QT or whatever. |
216 LIBGTKUI_EXPORT views::LinuxUI* BuildGtk2UI(); | 214 LIBGTKUI_EXPORT views::LinuxUI* BuildGtk2UI(); |
217 | 215 |
218 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK_UI_H_ | 216 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK_UI_H_ |
OLD | NEW |