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

Issue 9692020: mac: Don't use kWebURLsWithTitlesPboardType from third_party/mozilla (Closed)

Created:
8 years, 9 months ago by Nico
Modified:
8 years, 9 months ago
Reviewers:
Mark Mentovai, sky
CC:
chromium-reviews, dcheng
Visibility:
Public.

Description

mac: Don't use kWebURLsWithTitlesPboardType from third_party/mozilla It's a hidden symbol in content when doing a components build. Since the string needs to match what Safari uses anyway, it's unlikely to change: Just hardcode it in url_drop_target.mm. While here, fix a possible ODR violation in bookmark_pasteboard_helper_mac.mm BUG=90078 TEST=none TBR=sky Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126332

Patch Set 1 #

Patch Set 2 : different #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : comments #

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

Messages

Total messages: 10 (0 generated)
Nico
This is currently the last non-gyp code change needed to make the mac components build ...
8 years, 9 months ago (2012-03-12 23:15:31 UTC) #1
Mark Mentovai
Wait. Did you really mean to have two definitions of kCrWebURLsWithTitlesPboardType?
8 years, 9 months ago (2012-03-12 23:24:12 UTC) #2
Nico
Yes. They're both local to their translation unit (at least that's my intent).
8 years, 9 months ago (2012-03-12 23:27:23 UTC) #3
Mark Mentovai
LGTM otherwise http://codereview.chromium.org/9692020/diff/4001/chrome/browser/ui/cocoa/url_drop_target.mm File chrome/browser/ui/cocoa/url_drop_target.mm (right): http://codereview.chromium.org/9692020/diff/4001/chrome/browser/ui/cocoa/url_drop_target.mm#newcode14 chrome/browser/ui/cocoa/url_drop_target.mm:14: NSString* const kCrWebURLsWithTitlesPboardType = If this only ...
8 years, 9 months ago (2012-03-12 23:37:35 UTC) #4
Nico
Thanks! http://codereview.chromium.org/9692020/diff/4001/chrome/browser/ui/cocoa/url_drop_target.mm File chrome/browser/ui/cocoa/url_drop_target.mm (right): http://codereview.chromium.org/9692020/diff/4001/chrome/browser/ui/cocoa/url_drop_target.mm#newcode14 chrome/browser/ui/cocoa/url_drop_target.mm:14: NSString* const kCrWebURLsWithTitlesPboardType = On 2012/03/12 23:37:35, Mark ...
8 years, 9 months ago (2012-03-12 23:43:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/9692020/5001
8 years, 9 months ago (2012-03-12 23:46:30 UTC) #6
commit-bot: I haz the power
Presubmit check for 9692020-5001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-12 23:46:33 UTC) #7
Nico
sky: OWNERS
8 years, 9 months ago (2012-03-13 02:03:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/9692020/5001
8 years, 9 months ago (2012-03-13 02:04:01 UTC) #9
commit-bot: I haz the power
8 years, 9 months ago (2012-03-13 04:47:19 UTC) #10
Change committed as 126332

Powered by Google App Engine
This is Rietveld 408576698