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

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

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 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>
11 11
12 #include "ui/base/ui_export.h" 12 #include "ui/gfx/gfx_export.h"
13 13
14 // GtkFixed creates an X window when realized and destroys an X window 14 // GtkFixed creates an X window when realized and destroys an X window
15 // when unrealized. GtkPreserveWindow allows overrides this 15 // when unrealized. GtkPreserveWindow allows overrides this
16 // behaviour. When preserve is set (via gtk_preserve_window_set_preserve), 16 // behaviour. When preserve is set (via gtk_preserve_window_set_preserve),
17 // the X window is only destroyed when the widget is destroyed. 17 // the X window is only destroyed when the widget is destroyed.
18 18
19 G_BEGIN_DECLS 19 G_BEGIN_DECLS
20 20
21 #define GTK_TYPE_PRESERVE_WINDOW \ 21 #define GTK_TYPE_PRESERVE_WINDOW \
22 (gtk_preserve_window_get_type()) 22 (gtk_preserve_window_get_type())
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 UI_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