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

Issue 2146323002: Expose RTF content on the clipboard as strings to pages when pasting. (Closed)

Created:
4 years, 5 months ago by dominicc (has gone to gerrit)
Modified:
4 years, 5 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dcheng, dglazkov+blink, jam, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose RTF content on the clipboard as strings to pages when pasting. BUG=317807 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/4d8435dc86f802e3416ad1ccc67d0c729c38fe6d Cr-Commit-Position: refs/heads/master@{#407039}

Patch Set 1 #

Patch Set 2 : Rebase. Add a test. #

Patch Set 3 : Use the IO thread on Windows. #

Total comments: 3

Patch Set 4 : BrowserTestClipboardScope. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -62 lines) Patch
M content/browser/frame_host/interstitial_page_impl_browsertest.cc View 1 2 3 5 chunks +3 lines, -62 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/browser_test_utils.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 3 chunks +76 lines, -0 lines 0 comments Download
M content/renderer/webclipboard_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/webclipboard_impl.cc View 1 chunk +10 lines, -0 lines 0 comments Download
A content/renderer/webclipboard_impl_browsertest.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A content/test/data/paste_listener.html View 1 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/clipboard/ClipboardMimeTypes.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/clipboard/ClipboardMimeTypes.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebClipboard.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
dominicc (has gone to gerrit)
PTAL
4 years, 5 months ago (2016-07-20 06:39:15 UTC) #7
dcheng
https://codereview.chromium.org/2146323002/diff/40001/content/public/test/browser_test_utils.cc File content/public/test/browser_test_utils.cc (right): https://codereview.chromium.org/2146323002/diff/40001/content/public/test/browser_test_utils.cc#newcode1438 content/public/test/browser_test_utils.cc:1438: BrowserTestClipboard::BrowserTestClipboard() : is_installed_(false) {} Nit: let's just merge SetUp ...
4 years, 5 months ago (2016-07-20 07:02:17 UTC) #8
jochen (gone - plz use gerrit)
deferring to dcheng
4 years, 5 months ago (2016-07-20 11:09:47 UTC) #11
dominicc (has gone to gerrit)
PTAL Removed the Unretained; these callbacks don't need state. Still a mare's nest of ifdefs ...
4 years, 5 months ago (2016-07-21 01:31:52 UTC) #14
dcheng
LGTM from the clipboard perspective. Thanks!
4 years, 5 months ago (2016-07-21 02:35:55 UTC) #15
dominicc (has gone to gerrit)
On 2016/07/21 at 02:35:55, dcheng wrote: > LGTM from the clipboard perspective. Thanks! Thanks. jochen, ...
4 years, 5 months ago (2016-07-21 08:22:11 UTC) #16
jochen (gone - plz use gerrit)
lgtm
4 years, 5 months ago (2016-07-21 08:30:53 UTC) #17
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/2146323002/60001
4 years, 5 months ago (2016-07-22 00:57:22 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-22 03:43:48 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 03:46:18 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4d8435dc86f802e3416ad1ccc67d0c729c38fe6d
Cr-Commit-Position: refs/heads/master@{#407039}

Powered by Google App Engine
This is Rietveld 408576698