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

Issue 8591030: Move clipboard-related webkit_glue embedder functions into a ClipboardClient interface. (Closed)

Created:
9 years, 1 month ago by piman
Modified:
9 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, pam+watch_chromium.org, dpranke-watch+content_chromium.org, dcheng
Visibility:
Public.

Description

Move clipboard-related webkit_glue embedder functions into a ClipboardClient interface. This moves the functions into a pattern that is component-friendly. BUG=98755 TEST=Chrome, DRT, test_shell Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111097

Patch Set 1 #

Patch Set 2 : try again #

Patch Set 3 : more fixes #

Patch Set 4 : cleanup #

Total comments: 12

Patch Set 5 : style nits #

Total comments: 7

Patch Set 6 : style nits #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -228 lines) Patch
M content/content_renderer.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A content/renderer/renderer_clipboard_client.h View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A content/renderer/renderer_clipboard_client.cc View 1 2 3 4 1 chunk +175 lines, -0 lines 0 comments Download
M content/renderer/renderer_glue.cc View 1 2 3 1 chunk +2 lines, -130 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M ui/base/clipboard/scoped_clipboard_writer.cc View 1 chunk +1 line, -1 line 0 comments Download
A webkit/glue/clipboard_client.h View 1 2 3 1 chunk +68 lines, -0 lines 0 comments Download
M webkit/glue/scoped_clipboard_writer_glue.h View 1 2 3 1 chunk +3 lines, -9 lines 0 comments Download
A webkit/glue/scoped_clipboard_writer_glue.cc View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
M webkit/glue/webclipboard_impl.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M webkit/glue/webclipboard_impl.cc View 1 2 3 4 5 6 11 chunks +20 lines, -16 lines 0 comments Download
M webkit/glue/webkit_glue.h View 1 2 3 3 chunks +0 lines, -38 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A webkit/tools/test_shell/simple_clipboard_impl.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_clipboard_impl.cc View 1 2 3 chunks +40 lines, -32 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.h View 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
piman
dpranke: please review tony: webkit/ OWNERS sky: ui/base OWNERS (it's a trivial fix).
9 years, 1 month ago (2011-11-19 03:21:47 UTC) #1
sky
Tony should really review this one in depth. http://codereview.chromium.org/8591030/diff/6001/content/renderer/renderer_clipboard_client.cc File content/renderer/renderer_clipboard_client.cc (right): http://codereview.chromium.org/8591030/diff/6001/content/renderer/renderer_clipboard_client.cc#newcode25 content/renderer/renderer_clipboard_client.cc:25: class ...
9 years, 1 month ago (2011-11-21 15:13:17 UTC) #2
Dirk Pranke
change looks basically fine to me w/ the changes suggested by the other reviewers. http://codereview.chromium.org/8591030/diff/6001/webkit/glue/clipboard_client.h ...
9 years, 1 month ago (2011-11-21 20:00:54 UTC) #3
piman
http://codereview.chromium.org/8591030/diff/6001/content/renderer/renderer_clipboard_client.cc File content/renderer/renderer_clipboard_client.cc (right): http://codereview.chromium.org/8591030/diff/6001/content/renderer/renderer_clipboard_client.cc#newcode25 content/renderer/renderer_clipboard_client.cc:25: class RendererClipboardWriteContext: On 2011/11/21 15:13:17, sky wrote: > nit: ...
9 years, 1 month ago (2011-11-21 20:27:13 UTC) #4
piman
+darin for webkit/ OWNERS since tony looks like he's out.
9 years, 1 month ago (2011-11-21 22:26:41 UTC) #5
tony
LGTM, just some nits. Also cc'ing dcheng since he's been working in this area. http://codereview.chromium.org/8591030/diff/14001/content/renderer/renderer_webkitplatformsupport_impl.h ...
9 years, 1 month ago (2011-11-21 22:42:53 UTC) #6
piman
http://codereview.chromium.org/8591030/diff/14001/content/renderer/renderer_webkitplatformsupport_impl.h File content/renderer/renderer_webkitplatformsupport_impl.h (right): http://codereview.chromium.org/8591030/diff/14001/content/renderer/renderer_webkitplatformsupport_impl.h#newcode99 content/renderer/renderer_webkitplatformsupport_impl.h:99: scoped_ptr<RendererClipboardClient> clipboard_client_; On 2011/11/21 22:42:54, tony wrote: > Should ...
9 years, 1 month ago (2011-11-22 00:27:20 UTC) #7
tony
http://codereview.chromium.org/8591030/diff/14001/content/renderer/renderer_webkitplatformsupport_impl.h File content/renderer/renderer_webkitplatformsupport_impl.h (right): http://codereview.chromium.org/8591030/diff/14001/content/renderer/renderer_webkitplatformsupport_impl.h#newcode99 content/renderer/renderer_webkitplatformsupport_impl.h:99: scoped_ptr<RendererClipboardClient> clipboard_client_; On 2011/11/22 00:27:20, piman wrote: > On ...
9 years, 1 month ago (2011-11-22 00:46:23 UTC) #8
piman
On Mon, Nov 21, 2011 at 4:46 PM, <tony@chromium.org> wrote: > > http://codereview.chromium.**org/8591030/diff/14001/** > content/renderer/renderer_**webkitplatformsupport_impl.h<http://codereview.chromium.org/8591030/diff/14001/content/renderer/renderer_webkitplatformsupport_impl.h> ...
9 years, 1 month ago (2011-11-22 00:58:48 UTC) #9
piman
On Mon, Nov 21, 2011 at 4:58 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
9 years, 1 month ago (2011-11-22 01:00:29 UTC) #10
tony
On 2011/11/22 00:58:48, piman wrote: > We can, though that pulls an extra include in ...
9 years, 1 month ago (2011-11-22 01:01:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/8591030/24002
9 years, 1 month ago (2011-11-22 01:06:10 UTC) #12
commit-bot: I haz the power
Presubmit check for 8591030-24002 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-22 01:06:20 UTC) #13
sky
LGTM
9 years, 1 month ago (2011-11-22 01:09:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/8591030/24002
9 years, 1 month ago (2011-11-22 01:17:41 UTC) #15
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 03:48:54 UTC) #16
Change committed as 111097

Powered by Google App Engine
This is Rietveld 408576698