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

Issue 7048009: [Mac] Fix "No drag (+) cursor displayed when dragging link over BMB" (Closed)

Created:
9 years, 7 months ago by Alexei Svitkine (slow)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

[Mac] Fix "No drag (+) cursor displayed when dragging link over BMB" Return NSDragOperationCopy for BookmarBarButton drags and NSDragOperationMove for other drag types. Updated unit tests to set a BookmarkBarButton as the mock |draggingSource| for bookmark bar dragging tests and made the tests check for the expected drag operation type. BUG=83228 TEST=Drag a link from a page and hover over the BMB. Cursor should be a (+). Drag a bookmark button. Cursor shouldn't be a (+). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86696

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.mm View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm View 1 2 6 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Alexei Svitkine (slow)
9 years, 7 months ago (2011-05-19 18:57:54 UTC) #1
mrossetti
LGTM
9 years, 7 months ago (2011-05-19 20:14:27 UTC) #2
commit-bot: I haz the power
Try job failure for 7048009-1 on mac: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=28137
9 years, 7 months ago (2011-05-20 19:25:44 UTC) #3
Alexei Svitkine (slow)
On Fri, May 20, 2011 at 3:25 PM, <commit-bot@chromium.org> wrote: > Try job failure for ...
9 years, 7 months ago (2011-05-21 02:04:43 UTC) #4
Alexei Svitkine (slow)
Here's an updated patch with changes to the unit tests.
9 years, 7 months ago (2011-05-24 14:55:08 UTC) #5
asvitkine_google
Ping! Can either of you take a look at my updated patch? Thanks! On Tue, ...
9 years, 7 months ago (2011-05-25 15:39:44 UTC) #6
maf
Looking now. Maf On Wed, May 25, 2011 at 8:38 AM, Alexei Svitkine <asvitkine@google.com>wrote: > ...
9 years, 7 months ago (2011-05-25 18:47:22 UTC) #7
mafv
http://codereview.chromium.org/7048009/diff/5001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm (right): http://codereview.chromium.org/7048009/diff/5001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm#newcode66 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm:66: - (void)setDraggingSource:(id)dragginSource { Typo "dragginSource". Please fix throughout.
9 years, 7 months ago (2011-05-25 18:50:35 UTC) #8
Alexei Svitkine (slow)
http://codereview.chromium.org/7048009/diff/5001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm (right): http://codereview.chromium.org/7048009/diff/5001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm#newcode66 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm:66: - (void)setDraggingSource:(id)dragginSource { On 2011/05/25 18:50:36, mafv wrote: > ...
9 years, 7 months ago (2011-05-25 19:14:12 UTC) #9
mafv
LGTM
9 years, 7 months ago (2011-05-25 19:30:38 UTC) #10
commit-bot: I haz the power
9 years, 7 months ago (2011-05-25 20:45:16 UTC) #11
Change committed as 86696

Powered by Google App Engine
This is Rietveld 408576698