Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: chrome/browser/ui/libgtkui/gtk_ui.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/gtk_key_bindings_handler.h ('k') | chrome/browser/ui/libgtkui/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698