OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 GFX_GTK_PRESERVE_WINDOW_H_ | 5 #ifndef UI_GFX_GTK_PRESERVE_WINDOW_H_ |
6 #define 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 // GtkFixed creates an X window when realized and destroys an X window | 12 // GtkFixed creates an X window when realized and destroys an X window |
13 // when unrealized. GtkPreserveWindow allows overrides this | 13 // when unrealized. GtkPreserveWindow allows overrides this |
14 // behaviour. When preserve is set (via gtk_preserve_window_set_preserve), | 14 // behaviour. When preserve is set (via gtk_preserve_window_set_preserve), |
15 // the X window is only destroyed when the widget is destroyed. | 15 // the X window is only destroyed when the widget is destroyed. |
16 | 16 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 gboolean value); | 54 gboolean value); |
55 | 55 |
56 // Whether or not someone else will gdk_window_resize the GdkWindow associated | 56 // Whether or not someone else will gdk_window_resize the GdkWindow associated |
57 // with this widget (needed by the GPU process to synchronize resizing | 57 // with this widget (needed by the GPU process to synchronize resizing |
58 // with swapped between front and back buffer). | 58 // with swapped between front and back buffer). |
59 void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget, | 59 void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget, |
60 gboolean delegate); | 60 gboolean delegate); |
61 | 61 |
62 G_END_DECLS | 62 G_END_DECLS |
63 | 63 |
64 #endif // GFX_GTK_PRESERVE_WINDOW_H_ | 64 #endif // UI_GFX_GTK_PRESERVE_WINDOW_H_ |
OLD | NEW |