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

Issue 2750253002: Reland 4e4eae4cbe6136b538a: Make download item drags look like bookmark (Closed)

Created:
3 years, 9 months ago by Evan Stade
Modified:
3 years, 9 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, asanka, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland 4e4eae4cbe6136b538a: Make download item drags look like bookmark drags. This also looks the same as what you get when you drag the location icon. BUG=700161 Review-Url: https://codereview.chromium.org/2750253002 Cr-Commit-Position: refs/heads/master@{#458246} Committed: https://chromium.googlesource.com/chromium/src/+/9c4b2005a536042afa175da68877b8f3d241380c

Patch Set 1 #

Patch Set 2 : with fix #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -125 lines) Patch
M chrome/browser/download/drag_download_item_views.cc View 1 3 chunks +9 lines, -9 lines 3 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dragdrop/drag_utils.h View 1 chunk +0 lines, -9 lines 0 comments Download
M ui/base/dragdrop/drag_utils.cc View 1 chunk +1 line, -87 lines 0 comments Download
M ui/views/button_drag_utils.h View 1 1 chunk +4 lines, -4 lines 1 comment Download
M ui/views/button_drag_utils.cc View 1 2 chunks +10 lines, -9 lines 0 comments Download
M ui/views/drag_utils.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/drag_utils.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
Evan Stade
https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc File chrome/browser/download/drag_download_item_views.cc (right): https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc#newcode47 chrome/browser/download/drag_download_item_views.cc:47: *views::Widget::GetTopLevelWidgetForNativeView(view), &data); key to fixing the crash (which occurred ...
3 years, 9 months ago (2017-03-16 00:03:30 UTC) #2
msw
lgtm
3 years, 9 months ago (2017-03-16 00:28:29 UTC) #3
sky
https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc File chrome/browser/download/drag_download_item_views.cc (right): https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc#newcode38 chrome/browser/download/drag_download_item_views.cc:38: if (!root_window || !aura::client::GetDragDropClient(root_window)) Under what circumstances would there ...
3 years, 9 months ago (2017-03-16 03:38:05 UTC) #9
Evan Stade
https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc File chrome/browser/download/drag_download_item_views.cc (right): https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc#newcode38 chrome/browser/download/drag_download_item_views.cc:38: if (!root_window || !aura::client::GetDragDropClient(root_window)) On 2017/03/16 03:38:05, sky wrote: ...
3 years, 9 months ago (2017-03-16 14:14:50 UTC) #10
sky
On 2017/03/16 14:14:50, Evan Stade wrote: > https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc > File chrome/browser/download/drag_download_item_views.cc (right): > > https://codereview.chromium.org/2750253002/diff/20001/chrome/browser/download/drag_download_item_views.cc#newcode38 ...
3 years, 9 months ago (2017-03-16 16:30:08 UTC) #11
Evan Stade
On 2017/03/16 16:30:08, sky wrote: > On 2017/03/16 14:14:50, Evan Stade wrote: > > > ...
3 years, 9 months ago (2017-03-16 16:56:44 UTC) #12
Evan Stade
On 2017/03/16 16:56:44, Evan Stade wrote: > On 2017/03/16 16:30:08, sky wrote: > > On ...
3 years, 9 months ago (2017-03-16 17:06:28 UTC) #13
Evan Stade
On 2017/03/16 17:06:28, Evan Stade wrote: > On 2017/03/16 16:56:44, Evan Stade wrote: > > ...
3 years, 9 months ago (2017-03-18 00:51:24 UTC) #14
sky
On 2017/03/16 16:56:44, Evan Stade wrote: > On 2017/03/16 16:30:08, sky wrote: > > On ...
3 years, 9 months ago (2017-03-20 15:45:28 UTC) #15
Evan Stade
On 2017/03/20 15:45:28, sky wrote: > On 2017/03/16 16:56:44, Evan Stade wrote: > > On ...
3 years, 9 months ago (2017-03-20 15:56:47 UTC) #16
sky
Yes, I understand that moving the check up fixes the crash, but I feel the ...
3 years, 9 months ago (2017-03-20 16:39:47 UTC) #17
Evan Stade
No, the crash is fixed by using GetTopLevelWidgetForNativeView in place of GetWidgetForNativeView. On Mar 20, ...
3 years, 9 months ago (2017-03-20 17:22:13 UTC) #18
sky
I was actually talking about the root_window checks. But I think checking for the dnd ...
3 years, 9 months ago (2017-03-20 20:01:46 UTC) #19
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/2750253002/20001
3 years, 9 months ago (2017-03-20 22:52:12 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 23:54:45 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9c4b2005a536042afa175da68877...

Powered by Google App Engine
This is Rietveld 408576698