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

Issue 8450018: First shot at implementing drag&drop for Aura (Closed)

Created:
9 years, 1 month ago by varunjain
Modified:
9 years, 1 month ago
CC:
chromium-reviews, tfarina, dcheng, dhollowa
Visibility:
Public.

Description

First shot at implementing drag&drop for Aura BUG=97845 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110437

Patch Set 1 #

Patch Set 2 : minor changes #

Total comments: 14

Patch Set 3 : modified according to comments #

Patch Set 4 : minor change #

Patch Set 5 : Merged with upstream #

Patch Set 6 : Merged CLs #

Patch Set 7 : added more tests and minor changes #

Patch Set 8 : modified according to recent refactoring #

Patch Set 9 : minor fix #

Patch Set 10 : added missing test file #

Total comments: 16

Patch Set 11 : modified according to comments #

Patch Set 12 : merged with upstream #

Patch Set 13 : minor changes #

Total comments: 8

Patch Set 14 : modified according to comments #

Total comments: 6

Patch Set 15 : Synced and modified according to comments #

Patch Set 16 : fixed windows build errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1193 lines, -49 lines) Patch
M ui/aura/aura.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/client/aura_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -0 lines 0 comments Download
M ui/aura/client/aura_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
A ui/aura/client/drag_drop_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +41 lines, -0 lines 0 comments Download
A ui/aura/client/window_drag_drop_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +48 lines, -0 lines 0 comments Download
M ui/aura/desktop.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/event.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +24 lines, -0 lines 0 comments Download
M ui/aura_shell/aura_shell.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -0 lines 0 comments Download
A ui/aura_shell/drag_drop_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +81 lines, -0 lines 0 comments Download
A ui/aura_shell/drag_drop_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +183 lines, -0 lines 0 comments Download
A ui/aura_shell/drag_drop_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +371 lines, -0 lines 0 comments Download
A ui/aura_shell/drag_image_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +41 lines, -0 lines 0 comments Download
A ui/aura_shell/drag_image_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +60 lines, -0 lines 0 comments Download
M ui/aura_shell/shell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura_shell/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +11 lines, -0 lines 0 comments Download
A ui/base/dragdrop/os_exchange_data_provider_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +90 lines, -0 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +123 lines, -32 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
A views/drag_utils_aura.cc View 1 chunk +29 lines, -0 lines 0 comments Download
M views/views.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -12 lines 0 comments Download
M views/widget/native_widget_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +13 lines, -1 line 0 comments Download
M views/widget/native_widget_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +48 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
varunjain
9 years, 1 month ago (2011-11-03 23:12:41 UTC) #1
Ben Goodger (Google)
In short: I see no reason why this shouldn't work on windows with aura... and ...
9 years, 1 month ago (2011-11-07 20:33:36 UTC) #2
varunjain
http://codereview.chromium.org/8450018/diff/2001/ui/aura/test/test_desktop_delegate.h File ui/aura/test/test_desktop_delegate.h (right): http://codereview.chromium.org/8450018/diff/2001/ui/aura/test/test_desktop_delegate.h#newcode34 ui/aura/test/test_desktop_delegate.h:34: virtual DragDropController* GetDragDropController() const OVERRIDE { On 2011/11/07 20:33:36, ...
9 years, 1 month ago (2011-11-08 21:59:35 UTC) #3
Ben Goodger (Google)
Another general note and a request... I don't think this should live on Desktop. It's ...
9 years, 1 month ago (2011-11-09 18:38:15 UTC) #4
varunjain
On 2011/11/09 18:38:15, Ben Goodger (Google) wrote: > Another general note and a request... > ...
9 years, 1 month ago (2011-11-09 19:14:06 UTC) #5
varunjain
Hi Ben.. refactored to fit the aura client design. PTAL.
9 years, 1 month ago (2011-11-11 00:07:25 UTC) #6
Ben Goodger (Google)
http://codereview.chromium.org/8450018/diff/28001/ui/aura/desktop.h File ui/aura/desktop.h (right): http://codereview.chromium.org/8450018/diff/28001/ui/aura/desktop.h#newcode64 ui/aura/desktop.h:64: DragDropClient* drag_drop_client() { return drag_drop_client_.get(); } Since it looks ...
9 years, 1 month ago (2011-11-11 17:26:53 UTC) #7
varunjain
http://codereview.chromium.org/8450018/diff/28001/ui/aura/desktop.h File ui/aura/desktop.h (right): http://codereview.chromium.org/8450018/diff/28001/ui/aura/desktop.h#newcode64 ui/aura/desktop.h:64: DragDropClient* drag_drop_client() { return drag_drop_client_.get(); } On 2011/11/11 17:26:53, ...
9 years, 1 month ago (2011-11-15 19:39:33 UTC) #8
Ben Goodger (Google)
Getting very close... http://codereview.chromium.org/8450018/diff/36001/ui/aura/window_drag_drop_delegate.h File ui/aura/window_drag_drop_delegate.h (right): http://codereview.chromium.org/8450018/diff/36001/ui/aura/window_drag_drop_delegate.h#newcode5 ui/aura/window_drag_drop_delegate.h:5: #ifndef UI_AURA_WINDOW_DRAG_DROP_DELEGATE_H_ this should live in ...
9 years, 1 month ago (2011-11-16 00:13:20 UTC) #9
varunjain
the test has started failing :(... I am looking into it.. please review the other ...
9 years, 1 month ago (2011-11-16 20:30:14 UTC) #10
Ben Goodger (Google)
OK I am generally happy with the way this looks now. Let me know when ...
9 years, 1 month ago (2011-11-16 20:39:49 UTC) #11
varunjain
tests pass locally... sent to trybots http://codereview.chromium.org/8450018/diff/39001/ui/aura/aura.gyp File ui/aura/aura.gyp (right): http://codereview.chromium.org/8450018/diff/39001/ui/aura/aura.gyp#newcode39 ui/aura/aura.gyp:39: 'client/drag_drop_client.h', On 2011/11/16 ...
9 years, 1 month ago (2011-11-16 22:55:20 UTC) #12
Ben Goodger (Google)
LGTM
9 years, 1 month ago (2011-11-16 23:04:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/8450018/46002
9 years, 1 month ago (2011-11-17 00:10:31 UTC) #14
commit-bot: I haz the power
9 years, 1 month ago (2011-11-17 05:18:18 UTC) #15
Change committed as 110437

Powered by Google App Engine
This is Rietveld 408576698