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

Issue 8635018: GTK: Port RenderWidgetHostViewGtk to latest GTK (Closed)

Created:
9 years, 1 month ago by robert.bradford
Modified:
9 years ago
Reviewers:
jam, Elliot Glaysher
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

GTK: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -20 lines) Patch
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 2 15 chunks +23 lines, -20 lines 0 comments Download
M ui/base/gtk/gtk_compat.h View 1 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
robert.bradford
9 years, 1 month ago (2011-11-22 20:01:19 UTC) #1
Elliot Glaysher
http://codereview.chromium.org/8635018/diff/1/content/browser/renderer_host/render_widget_host_view_gtk.cc File content/browser/renderer_host/render_widget_host_view_gtk.cc (right): http://codereview.chromium.org/8635018/diff/1/content/browser/renderer_host/render_widget_host_view_gtk.cc#newcode1390 content/browser/renderer_host/render_widget_host_view_gtk.cc:1390: window_w = gdk_window_get_width(window); nit: we aren't using c here; ...
9 years ago (2011-11-28 18:35:42 UTC) #2
robert.bradford
Thanks for the patient review - i'm new to this coding style. I've got cpplint.py ...
9 years ago (2011-11-29 12:02:49 UTC) #3
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years ago (2011-11-29 21:44:45 UTC) #4
Elliot Glaysher
lgtm
9 years ago (2011-11-29 21:45:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/8635018/6001
9 years ago (2011-11-29 21:45:44 UTC) #6
commit-bot: I haz the power
Presubmit check for 8635018-6001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-11-29 21:45:47 UTC) #7
Elliot Glaysher
jam: Please OWNERS stamp this patch.
9 years ago (2011-11-29 21:47:16 UTC) #8
jam
lgtm
9 years ago (2011-11-30 18:46:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/8635018/6001
9 years ago (2011-11-30 18:47:42 UTC) #10
commit-bot: I haz the power
Try job failure for 8635018-6001 (retry) on linux_rel for step "compile" (clobber build). It's a ...
9 years ago (2011-11-30 19:12:36 UTC) #11
robert.bradford
Turns out my 2.18 build environment wasn't actually 2.18 :-) so I missed out both ...
9 years ago (2011-12-01 10:34:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/8635018/15001
9 years ago (2011-12-01 17:32:34 UTC) #13
commit-bot: I haz the power
9 years ago (2011-12-01 19:54:59 UTC) #14
Change committed as 112498

Powered by Google App Engine
This is Rietveld 408576698