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

Issue 9757001: Support custom drag-and-drop of bookmarks in Aura (Closed)

Created:
8 years, 9 months ago by Rick Byers
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, dcheng, brettw-cc_chromium.org
Visibility:
Public.

Description

Support custom drag-and-drop of bookmarks in Aura This follows the pattern used on other platforms to hook up the bookmark manager to the native drag and drop system, except that on Aura we avoid the need for the extra abstraction provided by WebDragDest/WebDragDestDelegate since we don't have applications outside of chrome we need to interact with. BUG=117012 TEST=drag bookmarks around in the bookmark manager, and to/from the bookmark bar Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128250

Patch Set 1 #

Total comments: 2

Patch Set 2 : Initial attempt at fixing layering violation #

Patch Set 3 : Remove overrides not needed on Aura #

Patch Set 4 : A few formatting, style tweaks and little fixes #

Patch Set 5 : Attempt to fix win aura linker error #

Total comments: 6

Patch Set 6 : Minor style fixes from CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -7 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 3 chunks +7 lines, -2 lines 0 comments Download
A chrome/browser/tab_contents/chrome_web_contents_view_delegate_aura.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/chrome_web_contents_view_delegate_aura.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/web_drag_bookmark_handler_aura.h View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc View 1 7 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.h View 1 4 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc View 1 2 3 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
A content/browser/tab_contents/tab_contents_view_aura.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/web_drag_dest_delegate.h View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Rick Byers
Varun, can you please take a look at this CL for fixing bookmark DnD on ...
8 years, 9 months ago (2012-03-20 15:38:21 UTC) #1
Rick Byers
+Ben for OWNERS
8 years, 9 months ago (2012-03-20 17:14:02 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/9757001/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc File chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc (right): http://codereview.chromium.org/9757001/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc#newcode184 chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc:184: bookmark_handler_.reset(new WebDragBookmarkHandlerAura()); hrm. tying the bookmark stuff into here ...
8 years, 9 months ago (2012-03-20 17:25:52 UTC) #3
Rick Byers
On 2012/03/20 17:25:52, Ben Goodger (Google) wrote: > http://codereview.chromium.org/9757001/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc > File chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc > (right): > ...
8 years, 9 months ago (2012-03-20 18:11:14 UTC) #4
varunjain
http://codereview.chromium.org/9757001/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc File chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc (right): http://codereview.chromium.org/9757001/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc#newcode184 chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc:184: bookmark_handler_.reset(new WebDragBookmarkHandlerAura()); On 2012/03/20 17:25:54, Ben Goodger (Google) wrote: ...
8 years, 9 months ago (2012-03-20 18:19:16 UTC) #5
varunjain
lgtm from my side BTW. On 2012/03/20 18:19:16, varunjain wrote: > http://codereview.chromium.org/9757001/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc > File chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc ...
8 years, 9 months ago (2012-03-21 05:10:07 UTC) #6
Ben Goodger (Google)
Where can I find WebDragDest in chrome source? I consider this kind of thing a ...
8 years, 9 months ago (2012-03-21 15:34:59 UTC) #7
Rick Byers
On 2012/03/21 15:34:59, Ben Goodger (Google) wrote: > Where can I find WebDragDest in chrome ...
8 years, 9 months ago (2012-03-21 16:48:46 UTC) #8
Ben Goodger (Google)
Why can't you just implement WebDragDestAura in content? It looks like it mostly acts as ...
8 years, 9 months ago (2012-03-21 17:51:17 UTC) #9
Rick Byers
On 2012/03/21 17:51:17, Ben Goodger (Google) wrote: > Why can't you just implement WebDragDestAura in ...
8 years, 9 months ago (2012-03-22 16:09:15 UTC) #10
Ben Goodger (Google)
This looks great LGTM. https://chromiumcodereview.appspot.com/9757001/diff/15004/chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc File chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc (right): https://chromiumcodereview.appspot.com/9757001/diff/15004/chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc#newcode66 chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc:66: bookmark_drag_data_); 4-space indent https://chromiumcodereview.appspot.com/9757001/diff/15004/chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc#newcode84 chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc:84: ...
8 years, 9 months ago (2012-03-22 16:19:46 UTC) #11
Rick Byers
Thanks Ben! https://chromiumcodereview.appspot.com/9757001/diff/15004/chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc File chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc (right): https://chromiumcodereview.appspot.com/9757001/diff/15004/chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc#newcode66 chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc:66: bookmark_drag_data_); On 2012/03/22 16:19:46, Ben Goodger (Google) ...
8 years, 9 months ago (2012-03-22 16:27:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rbyers@chromium.org/9757001/21013
8 years, 9 months ago (2012-03-22 16:28:30 UTC) #13
commit-bot: I haz the power
8 years, 9 months ago (2012-03-22 18:16:26 UTC) #14
Change committed as 128250

Powered by Google App Engine
This is Rietveld 408576698