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

Issue 2349973010: mus drag and drop: return the completed effect to the caller. (Closed)

Created:
4 years, 3 months ago by Elliot Glaysher
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, dcheng, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus drag and drop: return the completed effect to the caller. While implementing the views drag implementation, I had thought that you didn't need to return this value, as nothing in views uses it. However, it does get used in WebContents, so add it in. BUG=614037 Committed: https://crrev.com/5ef4d91b5c0d124c73244b323d2d2913daae17f3 Cr-Commit-Position: refs/heads/master@{#419924}

Patch Set 1 #

Patch Set 2 : 80 chars #

Total comments: 4

Patch Set 3 : sky comments #

Total comments: 1

Patch Set 4 : renaming #

Total comments: 3

Patch Set 5 : Rename some effect_taken to action_taken for consistency. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -28 lines) Patch
M services/ui/public/cpp/window.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M services/ui/public/cpp/window.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/public/cpp/window_tree_client.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M services/ui/public/cpp/window_tree_client.cc View 1 2 3 5 chunks +18 lines, -5 lines 0 comments Download
M services/ui/public/interfaces/window_tree.mojom View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M services/ui/ws/drag_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/ws/drag_controller.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M services/ui/ws/drag_controller_unittest.cc View 4 chunks +35 lines, -1 line 0 comments Download
M services/ui/ws/drag_source.h View 1 chunk +3 lines, -2 lines 0 comments Download
M services/ui/ws/test_utils.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/ws/test_utils.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M services/ui/ws/window_tree.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Elliot Glaysher
4 years, 3 months ago (2016-09-20 21:26:33 UTC) #4
sky
https://codereview.chromium.org/2349973010/diff/20001/services/ui/public/cpp/window.h File services/ui/public/cpp/window.h (right): https://codereview.chromium.org/2349973010/diff/20001/services/ui/public/cpp/window.h#newcode235 services/ui/public/cpp/window.h:235: // return the tuple [success, action_taken] to |callback|. Document ...
4 years, 3 months ago (2016-09-20 21:42:04 UTC) #7
Elliot Glaysher
sky: ptal tsepez: mojom change https://codereview.chromium.org/2349973010/diff/20001/services/ui/public/cpp/window.h File services/ui/public/cpp/window.h (right): https://codereview.chromium.org/2349973010/diff/20001/services/ui/public/cpp/window.h#newcode235 services/ui/public/cpp/window.h:235: // return the tuple ...
4 years, 3 months ago (2016-09-20 22:05:25 UTC) #11
sky
LGTM https://codereview.chromium.org/2349973010/diff/40001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2349973010/diff/40001/services/ui/public/interfaces/window_tree.mojom#newcode457 services/ui/public/interfaces/window_tree.mojom:457: OnDragCompletedReturnValue(uint32 window, bool success, uint32 effect_taken); Please name ...
4 years, 3 months ago (2016-09-20 22:20:26 UTC) #12
Tom Sepez
https://codereview.chromium.org/2349973010/diff/60001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2349973010/diff/60001/services/ui/public/interfaces/window_tree.mojom#newcode457 services/ui/public/interfaces/window_tree.mojom:457: OnPerformDragDropCompleted(uint32 window, bool success, uint32 effect_taken); Do you want ...
4 years, 3 months ago (2016-09-20 23:08:40 UTC) #15
Tom Sepez
LGTM otherwise. https://codereview.chromium.org/2349973010/diff/60001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2349973010/diff/60001/services/ui/public/interfaces/window_tree.mojom#newcode457 services/ui/public/interfaces/window_tree.mojom:457: OnPerformDragDropCompleted(uint32 window, bool success, uint32 effect_taken); On ...
4 years, 3 months ago (2016-09-20 23:16:52 UTC) #16
Elliot Glaysher
https://codereview.chromium.org/2349973010/diff/60001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2349973010/diff/60001/services/ui/public/interfaces/window_tree.mojom#newcode457 services/ui/public/interfaces/window_tree.mojom:457: OnPerformDragDropCompleted(uint32 window, bool success, uint32 effect_taken); On 2016/09/20 23:16:52, ...
4 years, 3 months ago (2016-09-20 23:44:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2349973010/80001
4 years, 3 months ago (2016-09-20 23:45:03 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-21 00:49:26 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 00:51:13 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5ef4d91b5c0d124c73244b323d2d2913daae17f3
Cr-Commit-Position: refs/heads/master@{#419924}

Powered by Google App Engine
This is Rietveld 408576698