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

Issue 16271006: Drag on linux (Closed)

Created:
7 years, 6 months ago by Elliot Glaysher
Modified:
7 years, 6 months ago
Reviewers:
Daniel Erat, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org, ben+watch_chromium.org, tfarina, dcheng
Visibility:
Public.

Description

linux_aura: Make chrome windows drag sources on X11. This implements the source side of the Xdnd protocol. It also includes some small changes to which object owns the drag selection so that we can do that part entirely asynchronously without spinning up a nested message loop. This patch only handles text drags and doesn't change the cursor or show a drag image under the cursor. Both of these require some refactoring and this patch is big enough as is. BUG=130806 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207219

Patch Set 1 #

Patch Set 2 : OK, we can round trip. Can't drag within chrome yet. #

Patch Set 3 : OK, final changes to get drag inside web content working. #

Patch Set 4 : Trigram compile fix #

Patch Set 5 : Speculative reenabling of omnibox unit tests #

Patch Set 6 : Another shot at getting the unit tests working. #

Patch Set 7 : Further cleanup #

Total comments: 28

Patch Set 8 : Fixes for derat@ #

Total comments: 3

Patch Set 9 : Document #

Unified diffs Side-by-side diffs Delta from patch set Stats (+960 lines, -293 lines) Patch
M ui/base/clipboard/clipboard_aurax11.cc View 1 1 chunk +1 line, -1 line 0 comments Download
D ui/base/dragdrop/desktop_selection_provider_aurax11.h View 1 1 chunk +0 lines, -24 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.h View 1 2 3 4 5 6 7 4 chunks +23 lines, -18 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.cc View 1 2 3 4 5 6 7 8 12 chunks +62 lines, -38 lines 0 comments Download
M ui/base/x/selection_owner.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/base/x/selection_owner.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -4 lines 0 comments Download
M ui/base/x/selection_requestor.cc View 1 3 chunks +5 lines, -49 lines 0 comments Download
M ui/base/x/selection_utils.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -1 line 0 comments Download
M ui/base/x/selection_utils.cc View 1 2 3 4 5 6 7 2 chunks +54 lines, -3 lines 0 comments Download
M ui/base/x/x11_util.h View 1 2 3 4 5 6 7 4 chunks +16 lines, -0 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 4 5 6 7 3 chunks +103 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/controls/textfield/native_textfield_views_unittest.cc View 1 2 3 4 4 chunks +4 lines, -32 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h View 1 2 3 4 5 6 7 10 chunks +93 lines, -6 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc View 1 2 3 4 5 6 7 18 chunks +562 lines, -87 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.h View 1 2 3 4 5 6 4 chunks +0 lines, -9 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc View 1 3 chunks +2 lines, -18 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_desktop_window_move_client.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Elliot Glaysher
OK, we can round trip. Can't drag within chrome yet.
7 years, 6 months ago (2013-06-12 23:11:28 UTC) #1
Elliot Glaysher
Speculative reenabling of omnibox unit tests
7 years, 6 months ago (2013-06-14 20:12:05 UTC) #2
Elliot Glaysher
derat: review
7 years, 6 months ago (2013-06-17 18:20:20 UTC) #3
Daniel Erat
LGTM after some comments and questions are addressed https://codereview.chromium.org/16271006/diff/72001/ui/base/dragdrop/os_exchange_data_provider_aurax11.cc File ui/base/dragdrop/os_exchange_data_provider_aurax11.cc (right): https://codereview.chromium.org/16271006/diff/72001/ui/base/dragdrop/os_exchange_data_provider_aurax11.cc#newcode303 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc:303: case ...
7 years, 6 months ago (2013-06-17 22:09:57 UTC) #4
Elliot Glaysher
sky: owners review Comments for derat: https://codereview.chromium.org/16271006/diff/72001/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc File ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc (right): https://codereview.chromium.org/16271006/diff/72001/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc#newcode109 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc:109: NOTIMPLEMENTED(); On 2013/06/17 ...
7 years, 6 months ago (2013-06-18 00:06:39 UTC) #5
sky
It looks like Dan looked through all of this. Is there any particular part you ...
7 years, 6 months ago (2013-06-18 14:09:45 UTC) #6
Elliot Glaysher
sky: Just asking for an owners stamp https://codereview.chromium.org/16271006/diff/98001/ui/base/x/selection_utils.h File ui/base/x/selection_utils.h (right): https://codereview.chromium.org/16271006/diff/98001/ui/base/x/selection_utils.h#newcode53 ui/base/x/selection_utils.h:53: // Adds ...
7 years, 6 months ago (2013-06-18 20:28:17 UTC) #7
sky
SGTM and LGTM
7 years, 6 months ago (2013-06-18 21:35:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/16271006/115002
7 years, 6 months ago (2013-06-18 21:47:01 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-06-19 13:09:58 UTC) #10
Message was sent while issue was closed.
Change committed as 207219

Powered by Google App Engine
This is Rietveld 408576698