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

Issue 391593002: Process SelectionRequestor::PerformBlockingConvertSelection() requests one at a time (Closed)

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

Description

Process SelectionRequestor::PerformBlockingConvertSelection() requests one at a time. In particular, do not call XConvertSelection() till SelectionNotify is received for the current request (or the current request has timed out). This is part #1 of implementing support for receiving selection data in multiple chunks via the INCR property. In particular, when data is transmitted via the INCR property, the transmission is not complete when the SelectionNotify event is received. BUG=367549 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285729

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -162 lines) Patch
M ui/base/clipboard/clipboard_aurax11.cc View 1 2 3 4 9 chunks +22 lines, -42 lines 0 comments Download
M ui/base/x/selection_requestor.h View 1 2 3 4 5 3 chunks +65 lines, -35 lines 0 comments Download
M ui/base/x/selection_requestor.cc View 1 2 3 4 5 3 chunks +131 lines, -85 lines 0 comments Download
A ui/base/x/selection_requestor_unittest.cc View 1 2 3 4 5 1 chunk +165 lines, -0 lines 0 comments Download
M ui/ui_unittests.gyp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
pkotwicz
Elliot, can you please take a look? I cannot think of a way which would ...
6 years, 5 months ago (2014-07-13 23:08:48 UTC) #1
erg
lgtm
6 years, 5 months ago (2014-07-14 17:30:58 UTC) #2
pkotwicz
derat@ for OWNERS
6 years, 5 months ago (2014-07-14 23:34:25 UTC) #3
Daniel Erat
https://codereview.chromium.org/391593002/diff/20001/ui/base/x/selection_requestor.cc File ui/base/x/selection_requestor.cc (right): https://codereview.chromium.org/391593002/diff/20001/ui/base/x/selection_requestor.cc#newcode66 ui/base/x/selection_requestor.cc:66: property_pool_.pop_back(); with the disclaimer that i don't know much ...
6 years, 5 months ago (2014-07-15 01:04:09 UTC) #4
pkotwicz
https://codereview.chromium.org/391593002/diff/20001/ui/base/x/selection_requestor.cc File ui/base/x/selection_requestor.cc (right): https://codereview.chromium.org/391593002/diff/20001/ui/base/x/selection_requestor.cc#newcode66 ui/base/x/selection_requestor.cc:66: property_pool_.pop_back(); The problem is that there are callers of ...
6 years, 5 months ago (2014-07-15 02:07:24 UTC) #5
Daniel Erat
lgtm https://codereview.chromium.org/391593002/diff/20001/ui/base/x/selection_requestor.cc File ui/base/x/selection_requestor.cc (right): https://codereview.chromium.org/391593002/diff/20001/ui/base/x/selection_requestor.cc#newcode66 ui/base/x/selection_requestor.cc:66: property_pool_.pop_back(); On 2014/07/15 02:07:24, pkotwicz wrote: > The ...
6 years, 5 months ago (2014-07-15 03:32:01 UTC) #6
pkotwicz
derat@, can you please take another look? I rewrote the CL completely. I rewrote the ...
6 years, 5 months ago (2014-07-16 03:29:45 UTC) #7
Daniel Erat
there's going to be another version of this after https://codereview.chromium.org/392153002/ goes in, right?
6 years, 5 months ago (2014-07-16 21:23:12 UTC) #8
pkotwicz
I have rebased this CL against https://codereview.chromium.org/392153002/
6 years, 5 months ago (2014-07-16 21:59:48 UTC) #9
Daniel Erat
generally lgtm with the disclaimer that erg@ should do another review since i'm not very ...
6 years, 5 months ago (2014-07-16 22:17:01 UTC) #10
erg
lgtm (I think I've convinced myself that your timing for ConvertSelectionForCurrentRequest() queuing is correct.)
6 years, 5 months ago (2014-07-16 22:39:27 UTC) #11
pkotwicz
dcheng@ for ui/base/clipboard OWNERS https://codereview.chromium.org/391593002/diff/200001/ui/base/clipboard/clipboard_aurax11.cc File ui/base/clipboard/clipboard_aurax11.cc (right): https://codereview.chromium.org/391593002/diff/200001/ui/base/clipboard/clipboard_aurax11.cc#newcode408 ui/base/clipboard/clipboard_aurax11.cc:408: ::Atom selection_name = LookupSelectionForClipboardType(type); On ...
6 years, 5 months ago (2014-07-17 19:38:34 UTC) #12
pkotwicz
dcheng@ PING?
6 years, 5 months ago (2014-07-20 21:14:55 UTC) #13
dcheng
lgtm. just one small comment. https://codereview.chromium.org/391593002/diff/240001/ui/base/clipboard/clipboard_aurax11.cc File ui/base/clipboard/clipboard_aurax11.cc (right): https://codereview.chromium.org/391593002/diff/240001/ui/base/clipboard/clipboard_aurax11.cc#newcode532 ui/base/clipboard/clipboard_aurax11.cc:532: case SelectionNotify: Nit: { ...
6 years, 5 months ago (2014-07-25 18:05:59 UTC) #14
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-25 21:39:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/391593002/280001
6 years, 5 months ago (2014-07-25 21:41:19 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_clang_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-25 23:41:49 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 23:59:46 UTC) #18
Message was sent while issue was closed.
Change committed as 285729

Powered by Google App Engine
This is Rietveld 408576698