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

Issue 2179813003: Allow OSExchangeData::Provider to be overridden at run time. (Closed)

Created:
4 years, 5 months ago by Elliot Glaysher
Modified:
4 years, 4 months ago
Reviewers:
jam, sky
CC:
chromium-reviews, darin-cc_chromium.org, jam, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow OSExchangeData::Provider to be overridden at run time. As previously written, OSExchangeData::CreateProvider() was written once on each platform. Change it to have an overrideable factory so that mus can use a mus specific provider. BUG=614037 Committed: https://crrev.com/5d324214f9878ede9d754b7e4336864eae2dfafd Cr-Commit-Position: refs/heads/master@{#407879}

Patch Set 1 #

Patch Set 2 : add the factory files #

Patch Set 3 : Maybe fix cast and mac #

Patch Set 4 : Switch the ifdef order #

Patch Set 5 : Apparently, android is aura. #

Patch Set 6 : Maybe this fixes android? #

Patch Set 7 : Gyp continues to exist. :( #

Patch Set 8 : Delete that. ;_; #

Total comments: 2

Patch Set 9 : Thread all usage through unique_ptr #

Patch Set 10 : Fix some compile errors related to unique_ptr #

Patch Set 11 : Unittests need <memory> #

Patch Set 12 : spelllllling #

Patch Set 13 : More unit test fixes #

Patch Set 14 : Add even more unique_ptrs. #

Patch Set 15 : More compile fixes #

Patch Set 16 : Mac + win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -66 lines) Patch
M components/bookmarks/browser/bookmark_node_data_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -3 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -5 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +4 lines, -10 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -10 lines 0 comments Download
A ui/base/dragdrop/os_exchange_data_provider_builder_mac.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
A ui/base/dragdrop/os_exchange_data_provider_builder_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
A ui/base/dragdrop/os_exchange_data_provider_factory.h View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A ui/base/dragdrop/os_exchange_data_provider_factory.cc View 1 2 3 4 5 6 7 8 1 chunk +47 lines, -0 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +6 lines, -11 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -10 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +10 lines, -4 lines 0 comments Download
M ui/base/ui_base.gyp View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/cocoa/drag_drop_client_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -4 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drop_target_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 71 (63 generated)
Elliot Glaysher
jam: the one use where I changed a name in content/. sky: the rest of ...
4 years, 5 months ago (2016-07-25 22:13:39 UTC) #31
sky
https://codereview.chromium.org/2179813003/diff/140001/ui/base/dragdrop/os_exchange_data_provider_factory.h File ui/base/dragdrop/os_exchange_data_provider_factory.h (right): https://codereview.chromium.org/2179813003/diff/140001/ui/base/dragdrop/os_exchange_data_provider_factory.h#newcode20 ui/base/dragdrop/os_exchange_data_provider_factory.h:20: virtual OSExchangeData::Provider* BuildProvider() = 0; Does it make sense ...
4 years, 5 months ago (2016-07-25 22:44:56 UTC) #34
Elliot Glaysher
https://codereview.chromium.org/2179813003/diff/140001/ui/base/dragdrop/os_exchange_data_provider_factory.h File ui/base/dragdrop/os_exchange_data_provider_factory.h (right): https://codereview.chromium.org/2179813003/diff/140001/ui/base/dragdrop/os_exchange_data_provider_factory.h#newcode20 ui/base/dragdrop/os_exchange_data_provider_factory.h:20: virtual OSExchangeData::Provider* BuildProvider() = 0; On 2016/07/25 22:44:56, sky ...
4 years, 5 months ago (2016-07-25 22:55:52 UTC) #36
sky
LGTM
4 years, 5 months ago (2016-07-25 22:58:45 UTC) #38
jam
lgtm
4 years, 4 months ago (2016-07-26 17:35:43 UTC) #57
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/2179813003/300001
4 years, 4 months ago (2016-07-26 19:26:34 UTC) #68
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 4 months ago (2016-07-26 19:31:22 UTC) #69
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 19:33:57 UTC) #71
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/5d324214f9878ede9d754b7e4336864eae2dfafd
Cr-Commit-Position: refs/heads/master@{#407879}

Powered by Google App Engine
This is Rietveld 408576698