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

Issue 8632021: GTK: Port to gdk_x11_window_lookup_for_display (Closed)

Created:
9 years ago by robert.bradford
Modified:
9 years ago
Reviewers:
Elliot Glaysher, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

GTK: Port to gdk_x11_window_lookup_for_display This API replaces gdk_window_lookup and gdk_xid_table_lookup which are deprecated in 2.24. gdk_x11_window_lookup_for_display was added in 2.24. As well porting the users to use this new API a compatability version was added to the ui/base/gtk/gtk_compat.h file. BUG=79722 TEST=Compiles and ui_unittests run. Chrome also runs. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112258

Patch Set 1 #

Total comments: 2

Patch Set 2 : Integrate coding style fixes #

Patch Set 3 : Rebase to fix merge issue #

Patch Set 4 : Include gdkx.h needed for X11 symbols #

Total comments: 2

Patch Set 5 : Put GDK X11 compatability in another file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -3 lines) Patch
A ui/base/gtk/gdk_x_compat.h View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M ui/base/x/active_window_watcher_x.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M ui/gfx/gtk_native_view_id_manager.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
robert.bradford
9 years ago (2011-11-22 19:54:46 UTC) #1
Elliot Glaysher
http://codereview.chromium.org/8632021/diff/1/ui/base/gtk/gtk_compat.h File ui/base/gtk/gtk_compat.h (right): http://codereview.chromium.org/8632021/diff/1/ui/base/gtk/gtk_compat.h#newcode38 ui/base/gtk/gtk_compat.h:38: inline GdkWindow* gdk_x11_window_lookup_for_display(GdkDisplay* display, Window window) linebreak on the ...
9 years ago (2011-11-28 18:39:28 UTC) #2
robert.bradford
http://codereview.chromium.org/8632021/diff/1/ui/base/gtk/gtk_compat.h File ui/base/gtk/gtk_compat.h (right): http://codereview.chromium.org/8632021/diff/1/ui/base/gtk/gtk_compat.h#newcode38 ui/base/gtk/gtk_compat.h:38: inline GdkWindow* gdk_x11_window_lookup_for_display(GdkDisplay* display, Window window) On 2011/11/28 18:39:28, ...
9 years ago (2011-11-29 12:04:04 UTC) #3
Elliot Glaysher
lgtm
9 years ago (2011-11-29 21:38:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/8632021/4002
9 years ago (2011-11-29 21:39:08 UTC) #5
commit-bot: I haz the power
Can't apply patch for file ui/base/x/active_window_watcher_x.cc. While running patch -p1 --forward --force; patching file ui/base/x/active_window_watcher_x.cc ...
9 years ago (2011-11-29 21:39:10 UTC) #6
robert.bradford
Here is an updated version that is rebased to deal with changes in r111171
9 years ago (2011-11-29 22:05:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/8632021/10001
9 years ago (2011-11-29 22:08:43 UTC) #8
commit-bot: I haz the power
Presubmit check for 8632021-10001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-11-29 22:08:47 UTC) #9
sky
Rubber stamp LGTM
9 years ago (2011-11-29 22:10:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/8632021/10001
9 years ago (2011-11-29 22:11:46 UTC) #11
commit-bot: I haz the power
Try job failure for 8632021-10001 (retry) on linux_rel for step "compile" (clobber build). It's a ...
9 years ago (2011-11-29 22:34:24 UTC) #12
robert.bradford
On 2011/11/29 22:11:46, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
9 years ago (2011-11-29 22:36:00 UTC) #13
robert.bradford
We need to include <gdk/gdkx.h> to get both the X11 symbols and all the gdk_x11_ ...
9 years ago (2011-11-29 22:47:58 UTC) #14
Elliot Glaysher
http://codereview.chromium.org/8632021/diff/9004/ui/base/gtk/gtk_compat.h File ui/base/gtk/gtk_compat.h (right): http://codereview.chromium.org/8632021/diff/9004/ui/base/gtk/gtk_compat.h#newcode10 ui/base/gtk/gtk_compat.h:10: #include <gdk/gdkx.h> Please move this and the copmat function ...
9 years ago (2011-11-29 22:54:15 UTC) #15
robert.bradford
Elliot, I also copied the blurb from the gtk_compat.h header to gdk_x_compat.h too. I was ...
9 years ago (2011-11-30 16:38:27 UTC) #16
Elliot Glaysher
Thank you. LGTM now. Throwing in the commit queue.
9 years ago (2011-11-30 17:31:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.bradford@intel.com/8632021/15001
9 years ago (2011-11-30 17:31:39 UTC) #18
commit-bot: I haz the power
9 years ago (2011-11-30 18:49:49 UTC) #19
Change committed as 112258

Powered by Google App Engine
This is Rietveld 408576698