| 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_GTK2_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_GTK_UI_H_ |
| 6 #define CHROME_BROWSER_UI_LIBGTKUI_GTK2_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/gtk2_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; | 24 class SkBitmap; |
| 25 | 25 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 207 |
| 208 } // namespace libgtkui | 208 } // namespace libgtkui |
| 209 | 209 |
| 210 // Access point to the GTK2 desktop system. This should be the only symbol that | 210 // Access point to the GTK2 desktop system. This should be the only symbol that |
| 211 // is exported in the library; everything else should be used through the | 211 // is exported in the library; everything else should be used through the |
| 212 // interface, because eventually this .so will be loaded through dlopen at | 212 // interface, because eventually this .so will be loaded through dlopen at |
| 213 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or | 213 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or |
| 214 // QT or whatever. | 214 // QT or whatever. |
| 215 LIBGTKUI_EXPORT views::LinuxUI* BuildGtk2UI(); | 215 LIBGTKUI_EXPORT views::LinuxUI* BuildGtk2UI(); |
| 216 | 216 |
| 217 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK2_UI_H_ | 217 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK_UI_H_ |
| OLD | NEW |