DescriptionGTK: Port RenderWidgetHostViewGtk to latest GTK
New API used:
gtk_widget_get_window - replaces direct access
gtk_widget_get_allocation - added in 2.18 - replaces direct access
gdk_window_get_width / gdk_window_get_height added in 2.24 - replaces
deprecated gdk_window_get_size so is added to ui/base/gtk/gtk_compat.h
With these changes the file can be compiled with sealed structures and
deprecated API disabled with the exception of the deprecated function
gdk_bitmap_create_from_data used in the cursor creation. That will come in a
separate change.
BUG=79722
TEST=Compiles and chrome runs
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112498
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix coding style issues #Patch Set 3 : gdk_visual_get_depth was added in 2.22 not 2.18 #
Messages
Total messages: 14 (0 generated)
|