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

Issue 174367: Change the ChromiumPasteboard to have a notion of an alternate clipboard... (Closed)

Created:
11 years, 4 months ago by vandebo (ex-Chrome)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google)
Visibility:
Public.

Description

Change the ChromoimPasteboard to have a notion of an alternate clipboard and use that for pasting the primary selection. Requires lots of plumbing. Depends on WebKit change r48168 BUG=18792 TEST=layout:middle-click-onpaste or middle click in a field with an onpaste handler (see bug) committed: http://code.google.com/p/chromium/source/detail?r=25669

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 21

Patch Set 5 : '' #

Total comments: 8

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 2

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+383 lines, -217 lines) Patch
M base/clipboard.h View 1 2 3 4 5 6 7 8 3 chunks +38 lines, -5 lines 0 comments Download
M base/clipboard_linux.cc View 1 2 3 4 5 6 7 8 7 chunks +51 lines, -12 lines 0 comments Download
M base/clipboard_mac.mm View 2 3 4 5 6 7 8 4 chunks +11 lines, -4 lines 0 comments Download
M base/clipboard_unittest.cc View 1 2 3 4 5 6 7 8 10 chunks +32 lines, -23 lines 0 comments Download
M base/clipboard_win.cc View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.h View 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.cc View 2 3 4 5 6 7 8 2 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter_gtk.cc View 1 2 3 4 5 6 7 8 5 chunks +26 lines, -16 lines 0 comments Download
M chrome/common/render_messages.h View 5 6 7 8 2 chunks +34 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -12 lines 0 comments Download
M chrome/renderer/render_view.h View 2 3 4 5 6 7 8 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/renderer/render_view.cc View 2 3 4 5 6 7 8 3 chunks +0 lines, -12 lines 0 comments Download
M chrome/renderer/renderer_glue.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -8 lines 0 comments Download
M views/controls/textfield/native_textfield_win.cc View 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M views/view_unittest.cc View 2 3 4 5 6 7 8 4 chunks +6 lines, -6 lines 0 comments Download
M webkit/api/public/WebClipboard.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -3 lines 0 comments Download
M webkit/api/public/WebViewClient.h View 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M webkit/api/src/AssertMatchingEnums.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/api/src/ChromiumBridge.cpp View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -6 lines 0 comments Download
M webkit/glue/webclipboard_impl.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -3 lines 0 comments Download
M webkit/glue/webclipboard_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +41 lines, -9 lines 0 comments Download
M webkit/glue/webkit_glue.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -4 lines 0 comments Download
M webkit/glue/webview_delegate.h View 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
M webkit/glue/webview_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/mock_webclipboard_impl.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/mock_webclipboard_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/simple_clipboard_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
vandebo (ex-Chrome)
I would appreciate feedback on this approach to bug 18792. It solves the problem but ...
11 years, 4 months ago (2009-08-25 00:20:29 UTC) #1
agl
Darin is, indeed, probably the right reviewer for this. It's a shame that you had ...
11 years, 4 months ago (2009-08-27 00:25:28 UTC) #2
vandebo (ex-Chrome)
This is ready for a full review.
11 years, 3 months ago (2009-08-28 21:43:42 UTC) #3
vandebo (ex-Chrome)
I've updated this change to mesh with changes in the WebKit patch, which has gotten ...
11 years, 3 months ago (2009-09-02 16:43:20 UTC) #4
darin (slow to review)
http://codereview.chromium.org/174367/diff/6001/6014 File base/clipboard.h (right): http://codereview.chromium.org/174367/diff/6001/6014#newcode78 Line 78: enum TargetClipboard { i think it is sufficient ...
11 years, 3 months ago (2009-09-02 22:15:53 UTC) #5
vandebo (ex-Chrome)
Address all of Darin's comments with a few specific notes. http://codereview.chromium.org/174367/diff/6001/6029 File chrome/browser/renderer_host/render_widget_host_view_gtk.cc (left): http://codereview.chromium.org/174367/diff/6001/6029#oldcode624 ...
11 years, 3 months ago (2009-09-03 22:28:53 UTC) #6
darin (slow to review)
i haven't had a chance to fully review this... but looking better... http://codereview.chromium.org/174367/diff/11001/11014 File base/clipboard.h ...
11 years, 3 months ago (2009-09-04 16:59:24 UTC) #7
vandebo (ex-Chrome)
http://codereview.chromium.org/174367/diff/11001/11014 File base/clipboard.h (right): http://codereview.chromium.org/174367/diff/11001/11014#newcode81 Line 81: STANDARD_BUFFER, On 2009/09/04 16:59:25, darin wrote: > i ...
11 years, 3 months ago (2009-09-04 22:06:43 UTC) #8
darin (slow to review)
Looks great... http://codereview.chromium.org/174367/diff/18002/19009 File webkit/api/public/WebClipboard.h (right): http://codereview.chromium.org/174367/diff/18002/19009#newcode51 Line 51: // Only used on platforms that ...
11 years, 3 months ago (2009-09-04 22:38:06 UTC) #9
vandebo (ex-Chrome)
Fixed up those two points.
11 years, 3 months ago (2009-09-04 22:52:24 UTC) #10
darin (slow to review)
11 years, 3 months ago (2009-09-04 23:28:07 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698