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

Side by Side Diff: ui/gfx/gtk_preserve_window.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 years, 2 months 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/gtk_native_view_id_manager.h ('k') | ui/gfx/gtk_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_GFX_GTK_PRESERVE_WINDOW_H_ 5 #ifndef UI_GFX_GTK_PRESERVE_WINDOW_H_
6 #define UI_GFX_GTK_PRESERVE_WINDOW_H_ 6 #define UI_GFX_GTK_PRESERVE_WINDOW_H_
7 7
8 #include <atk/atk.h> 8 #include <atk/atk.h>
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 #include <gtk/gtk.h> 10 #include <gtk/gtk.h>
(...skipping 28 matching lines...) Expand all
39 39
40 struct _GtkPreserveWindow { 40 struct _GtkPreserveWindow {
41 // Parent class. 41 // Parent class.
42 GtkFixed fixed; 42 GtkFixed fixed;
43 }; 43 };
44 44
45 struct _GtkPreserveWindowClass { 45 struct _GtkPreserveWindowClass {
46 GtkFixedClass parent_class; 46 GtkFixedClass parent_class;
47 }; 47 };
48 48
49 UI_EXPORT GType gtk_preserve_window_get_type() G_GNUC_CONST; 49 GFX_EXPORT GType gtk_preserve_window_get_type() G_GNUC_CONST;
50 UI_EXPORT GtkWidget* gtk_preserve_window_new(); 50 GFX_EXPORT GtkWidget* gtk_preserve_window_new();
51 51
52 // Whether or not we should preserve associated windows as the widget 52 // Whether or not we should preserve associated windows as the widget
53 // is realized or unrealized. 53 // is realized or unrealized.
54 UI_EXPORT gboolean gtk_preserve_window_get_preserve(GtkPreserveWindow* widget); 54 GFX_EXPORT gboolean gtk_preserve_window_get_preserve(GtkPreserveWindow* widget);
55 UI_EXPORT void gtk_preserve_window_set_preserve(GtkPreserveWindow* widget, 55 GFX_EXPORT void gtk_preserve_window_set_preserve(GtkPreserveWindow* widget,
56 gboolean value); 56 gboolean value);
57 57
58 // Whether or not someone else will gdk_window_resize the GdkWindow associated 58 // Whether or not someone else will gdk_window_resize the GdkWindow associated
59 // with this widget (needed by the GPU process to synchronize resizing 59 // with this widget (needed by the GPU process to synchronize resizing
60 // with swapped between front and back buffer). 60 // with swapped between front and back buffer).
61 UI_EXPORT void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget, 61 GFX_EXPORT void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget,
62 gboolean delegate); 62 gboolean delegate);
63 63
64 // Provide a function to return an AtkObject* when calls to get_accessible 64 // Provide a function to return an AtkObject* when calls to get_accessible
65 // are made on this widget. The parameter |userdata| will be passed to the 65 // are made on this widget. The parameter |userdata| will be passed to the
66 // factory function. 66 // factory function.
67 UI_EXPORT void gtk_preserve_window_set_accessible_factory( 67 GFX_EXPORT void gtk_preserve_window_set_accessible_factory(
68 GtkPreserveWindow* widget, 68 GtkPreserveWindow* widget,
69 AtkObject* (*factory)(void* userdata), 69 AtkObject* (*factory)(void* userdata),
70 gpointer userdata); 70 gpointer userdata);
71 71
72 G_END_DECLS 72 G_END_DECLS
73 73
74 #endif // UI_GFX_GTK_PRESERVE_WINDOW_H_ 74 #endif // UI_GFX_GTK_PRESERVE_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/gfx/gtk_native_view_id_manager.h ('k') | ui/gfx/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698