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

Issue 1854223002: mac: Fix bookmark drag and drop. (Closed)

Created:
4 years, 8 months ago by erikchen
Modified:
4 years, 8 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@temp37_dnd
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Fix bookmark drag and drop. The NSPasteboardItem that represents the dragged item needs to include all the usual pasteboard types associated with URLs. This was broken in a recent refactor that removed the use of a deprecated APIs. BUG=600295 Committed: https://crrev.com/5c3e79fe151cef7f1ca259a81a655131fdb8b8d6 Cr-Commit-Position: refs/heads/master@{#385210}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Compile error. #

Patch Set 3 : Fix memory leak. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -90 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_button.h View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm View 4 chunks +6 lines, -21 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_button_unittest.mm View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h View 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.mm View 2 chunks +10 lines, -33 lines 0 comments Download
M components/bookmarks/browser/bookmark_pasteboard_helper_mac.h View 2 chunks +8 lines, -0 lines 0 comments Download
M components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm View 1 2 5 chunks +27 lines, -18 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (11 generated)
erikchen
avi: Please review.
4 years, 8 months ago (2016-04-04 18:45:58 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854223002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854223002/1
4 years, 8 months ago (2016-04-04 18:46:32 UTC) #4
Avi (use Gerrit)
lgtm https://codereview.chromium.org/1854223002/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm File components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm (right): https://codereview.chromium.org/1854223002/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm#newcode235 components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm:235: forType:NSPasteboardTypeString]; ui::ClipboardUtil::UTIForPasteboardType? When is that used?
4 years, 8 months ago (2016-04-04 18:55:27 UTC) #5
erikchen
https://codereview.chromium.org/1854223002/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm File components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm (right): https://codereview.chromium.org/1854223002/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm#newcode235 components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm:235: forType:NSPasteboardTypeString]; On 2016/04/04 18:55:26, Avi wrote: > ui::ClipboardUtil::UTIForPasteboardType? When ...
4 years, 8 months ago (2016-04-04 19:01:36 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/89720)
4 years, 8 months ago (2016-04-04 19:02:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854223002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854223002/20001
4 years, 8 months ago (2016-04-04 19:04:41 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/205051)
4 years, 8 months ago (2016-04-04 20:59:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854223002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854223002/40001
4 years, 8 months ago (2016-04-04 22:04:20 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-05 00:06:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854223002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854223002/40001
4 years, 8 months ago (2016-04-05 17:26:20 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-05 17:32:59 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 17:34:03 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5c3e79fe151cef7f1ca259a81a655131fdb8b8d6
Cr-Commit-Position: refs/heads/master@{#385210}

Powered by Google App Engine
This is Rietveld 408576698