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

Side by Side Diff: gfx/gtk_preserve_window.h

Issue 5105006: Resize synchronization for Linux. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: make -j17 all is my friend (fix the test build). Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/gpu/gpu_command_buffer_stub.cc ('k') | gfx/gtk_preserve_window.cc » ('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) 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 GFX_GTK_PRESERVE_WINDOW_H_
6 #define GFX_GTK_PRESERVE_WINDOW_H_ 6 #define 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>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 GType gtk_preserve_window_get_type() G_GNUC_CONST; 47 GType gtk_preserve_window_get_type() G_GNUC_CONST;
48 GtkWidget* gtk_preserve_window_new(); 48 GtkWidget* gtk_preserve_window_new();
49 49
50 // Whether or not we should preserve associated windows as the widget 50 // Whether or not we should preserve associated windows as the widget
51 // is realized or unrealized. 51 // is realized or unrealized.
52 gboolean gtk_preserve_window_get_preserve(GtkPreserveWindow* widget); 52 gboolean gtk_preserve_window_get_preserve(GtkPreserveWindow* widget);
53 void gtk_preserve_window_set_preserve(GtkPreserveWindow* widget, 53 void gtk_preserve_window_set_preserve(GtkPreserveWindow* widget,
54 gboolean value); 54 gboolean value);
55 55
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
58 // with swapped between front and back buffer).
59 void gtk_preserve_window_delegate_resize(GtkPreserveWindow* widget,
60 gboolean delegate);
61
56 G_END_DECLS 62 G_END_DECLS
57 63
58 #endif // GFX_GTK_PRESERVE_WINDOW_H_ 64 #endif // GFX_GTK_PRESERVE_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_command_buffer_stub.cc ('k') | gfx/gtk_preserve_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698