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

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

Issue 7569003: Gtk: fix GTK_TYPE_PERSERVE_WINDOW typo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
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/ui_api.h" 12 #include "ui/ui_api.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())
23 #define GTK_PRESERVE_WINDOW(obj) \ 23 #define GTK_PRESERVE_WINDOW(obj) \
24 (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_PERSERVE_WINDOW, \ 24 (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_PRESERVE_WINDOW, \
25 GtkPreserveWindow)) 25 GtkPreserveWindow))
26 #define GTK_PRESERVE_WINDOW_CLASS(klass) \ 26 #define GTK_PRESERVE_WINDOW_CLASS(klass) \
27 (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_PRESERVE_WINDOW, \ 27 (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_PRESERVE_WINDOW, \
28 GtkPreserveWindowClass)) 28 GtkPreserveWindowClass))
29 #define GTK_IS_PRESERVE_WINDOW(obj) \ 29 #define GTK_IS_PRESERVE_WINDOW(obj) \
30 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_PRESERVE_WINDOW)) 30 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_PRESERVE_WINDOW))
31 #define GTK_IS_PRESERVE_WINDOW_CLASS(klass) \ 31 #define GTK_IS_PRESERVE_WINDOW_CLASS(klass) \
32 (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_PRESERVE_WINDOW)) 32 (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_PRESERVE_WINDOW))
33 #define GTK_PRESERVE_WINDOW_GET_CLASS(obj) \ 33 #define GTK_PRESERVE_WINDOW_GET_CLASS(obj) \
34 (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_PRESERVE_WINDOW, \ 34 (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_PRESERVE_WINDOW, \
(...skipping 22 matching lines...) Expand all
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_API void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget, 61 UI_API void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget,
62 gboolean delegate); 62 gboolean delegate);
63 63
64 G_END_DECLS 64 G_END_DECLS
65 65
66 #endif // UI_GFX_GTK_PRESERVE_WINDOW_H_ 66 #endif // UI_GFX_GTK_PRESERVE_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698