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

Issue 392153002: Remove X11/Xlib.h include from selection_requestor.h (Closed)

Created:
6 years, 5 months ago by pkotwicz
Modified:
6 years, 5 months ago
Reviewers:
danakj, Daniel Erat
CC:
chromium-reviews, sadrul, derat+watch_chromium.org, dcheng, yusukes+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Remove X11/Xlib.h include from selection_requestor.h Removing the include of Xlib.h makes selection_requestor.h more easily testable. In particular, the definition of None in X.h conflicts with that in gtest-type-util.h This CL also adds XAtom to x11_types.h so that it does not need to be forward declared everywhere. BUG=None TEST=None R=derat,danakj TBR=dcheng (for trivial change to clipboard_aurax11.cc) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283740

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -90 lines) Patch
M ui/base/clipboard/clipboard_aurax11.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/base/x/selection_requestor.h View 1 5 chunks +17 lines, -15 lines 0 comments Download
M ui/base/x/selection_requestor.cc View 1 7 chunks +21 lines, -18 lines 0 comments Download
M ui/base/x/x11_menu_list.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M ui/base/x/x11_menu_list.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/base/x/x11_util.h View 1 5 chunks +10 lines, -11 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 17 chunks +31 lines, -31 lines 0 comments Download
M ui/gfx/x/x11_atom_cache.h View 1 3 chunks +3 lines, -5 lines 0 comments Download
M ui/gfx/x/x11_atom_cache.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gfx/x/x11_types.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pkotwicz
derat@ PTAL. I am including the new test as part of https://codereview.chromium.org/391593002/ which I rewrote. ...
6 years, 5 months ago (2014-07-16 02:54:18 UTC) #1
Daniel Erat
thanks, i'm glad to see all those ::s go away https://codereview.chromium.org/392153002/diff/1/ui/base/x/selection_requestor.h File ui/base/x/selection_requestor.h (right): https://codereview.chromium.org/392153002/diff/1/ui/base/x/selection_requestor.h#newcode25 ...
6 years, 5 months ago (2014-07-16 03:03:13 UTC) #2
pkotwicz
derat@, can you please take another look?
6 years, 5 months ago (2014-07-16 14:55:31 UTC) #3
Daniel Erat
lgtm
6 years, 5 months ago (2014-07-16 15:20:04 UTC) #4
pkotwicz
danakj@ for ui/gfx/ OWNERS
6 years, 5 months ago (2014-07-16 15:25:25 UTC) #5
danakj
rsLGTM
6 years, 5 months ago (2014-07-16 15:27:34 UTC) #6
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-16 16:46:19 UTC) #7
pkotwicz
The CQ bit was unchecked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-16 16:46:26 UTC) #8
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-16 16:47:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/392153002/20001
6 years, 5 months ago (2014-07-16 16:48:32 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 20:50:44 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 10:55:24 UTC) #12
Message was sent while issue was closed.
Change committed as 283740

Powered by Google App Engine
This is Rietveld 408576698