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

Issue 9232075: Have ScopedClipboardWriter and Clipboard::WriteObjects take a buffer parameter. (Closed)

Created:
8 years, 10 months ago by peter1
Modified:
8 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, amit, jam, penghuang+watch_chromium.org, dcheng, joi+watch-content_chromium.org, darin-cc_chromium.org, tfarina, robertshield, James Su, Evan Martin
Visibility:
Public.

Description

Have ScopedClipboardWriter and Clipboard::WriteObjects take a buffer parameter. GTK: add support for writing to primary selection (BUFFER_SELECTION). BUG=none TEST=ui_unittests TBR=ananta Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122972

Patch Set 1 #

Patch Set 2 : Have ScopedClipboardWriter and Clipboard::WriteObjects take a buffer parameter. #

Patch Set 3 : Fix build error #

Total comments: 8

Patch Set 4 : Address review comments. #

Patch Set 5 : Rebase. #

Patch Set 6 : Un-add myself to AUTHORS. #

Total comments: 4

Patch Set 7 : Address review comments. #

Patch Set 8 : Fix build error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -62 lines) Patch
M ash/drag_drop/drag_drop_controller_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_node_data.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_utils_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/net/browser_url_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm View 5 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/pdf/pdf_browsertest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/clipboard_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -5 lines 0 comments Download
M ui/base/clipboard/clipboard_aurax11.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/clipboard/clipboard_gtk.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -5 lines 0 comments Download
M ui/base/clipboard/clipboard_mac.mm View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/clipboard/clipboard_unittest.cc View 20 chunks +77 lines, -20 lines 0 comments Download
M ui/base/clipboard/clipboard_win.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/clipboard/scoped_clipboard_writer.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M ui/base/clipboard/scoped_clipboard_writer.cc View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/message_box_view.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/textfield/native_textfield_views_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/textfield/native_textfield_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/textfield/textfield_views_model.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M ui/views/controls/textfield/textfield_views_model_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M webkit/glue/scoped_clipboard_writer_glue.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
peter1
8 years, 10 months ago (2012-01-30 04:53:53 UTC) #1
dcheng
Two questions: 1) Is there a crbug for this? 2) What are you trying to ...
8 years, 10 months ago (2012-02-01 19:03:24 UTC) #2
peter1
On Wed, Feb 01, 2012 at 07:03:24PM +0000, dcheng@chromium.org wrote: > Two questions: > 1) ...
8 years, 10 months ago (2012-02-02 22:49:40 UTC) #3
dcheng
http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h#newcode167 ui/base/clipboard/clipboard.h:167: void DidWriteURL(Buffer buffer, const std::string& utf8_text) {} It seems ...
8 years, 10 months ago (2012-02-03 21:53:57 UTC) #4
dcheng
Also, don't hesitate to ping me if I haven't looked at your change in a ...
8 years, 10 months ago (2012-02-03 21:55:19 UTC) #5
peter1
http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h#newcode167 ui/base/clipboard/clipboard.h:167: void DidWriteURL(Buffer buffer, const std::string& utf8_text) {} On 2012/02/03 ...
8 years, 10 months ago (2012-02-04 00:54:46 UTC) #6
dcheng
http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h#newcode167 ui/base/clipboard/clipboard.h:167: void DidWriteURL(Buffer buffer, const std::string& utf8_text) {} On 2012/02/04 ...
8 years, 10 months ago (2012-02-04 01:11:05 UTC) #7
peter1
http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): http://codereview.chromium.org/9232075/diff/5001/ui/base/clipboard/clipboard.h#newcode167 ui/base/clipboard/clipboard.h:167: void DidWriteURL(Buffer buffer, const std::string& utf8_text) {} On 2012/02/04 ...
8 years, 10 months ago (2012-02-04 02:05:43 UTC) #8
peter1
> > Do we have a test that DidWriteURL is correctly causing URL to be ...
8 years, 10 months ago (2012-02-04 02:10:44 UTC) #9
peter1
Ping.
8 years, 10 months ago (2012-02-15 01:09:13 UTC) #10
dcheng
lgtm
8 years, 10 months ago (2012-02-15 21:18:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peter@pcc.me.uk/9232075/16001
8 years, 10 months ago (2012-02-15 21:30:12 UTC) #12
commit-bot: I haz the power
Presubmit check for 9232075-16001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 10 months ago (2012-02-15 21:30:47 UTC) #13
battre
LGTM for chrome/browser/net/browser_url_util.cc
8 years, 10 months ago (2012-02-15 23:00:02 UTC) #14
willchan no longer on Chromium
lgtm
8 years, 10 months ago (2012-02-15 23:00:33 UTC) #15
eroman
LGTM for chrome/browser/net/*
8 years, 10 months ago (2012-02-15 23:01:03 UTC) #16
sky
LGTM https://chromiumcodereview.appspot.com/9232075/diff/16001/ui/base/clipboard/scoped_clipboard_writer.cc File ui/base/clipboard/scoped_clipboard_writer.cc (right): https://chromiumcodereview.appspot.com/9232075/diff/16001/ui/base/clipboard/scoped_clipboard_writer.cc#newcode19 ui/base/clipboard/scoped_clipboard_writer.cc:19: : clipboard_(clipboard), buffer_(buffer) { each param on its ...
8 years, 10 months ago (2012-02-16 01:39:03 UTC) #17
sky
Can you also get evan or erg to review this?
8 years, 10 months ago (2012-02-16 01:39:50 UTC) #18
Elliot Glaysher
lgtm
8 years, 10 months ago (2012-02-16 20:16:54 UTC) #19
peter1
https://chromiumcodereview.appspot.com/9232075/diff/16001/ui/base/clipboard/scoped_clipboard_writer.cc File ui/base/clipboard/scoped_clipboard_writer.cc (right): https://chromiumcodereview.appspot.com/9232075/diff/16001/ui/base/clipboard/scoped_clipboard_writer.cc#newcode19 ui/base/clipboard/scoped_clipboard_writer.cc:19: : clipboard_(clipboard), buffer_(buffer) { On 2012/02/16 01:39:03, sky wrote: ...
8 years, 10 months ago (2012-02-17 18:45:41 UTC) #20
peter1
tony: please look at chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm ananta: please look at chrome_frame/test/chrome_frame_test_utils.cc jeremy: please look at webkit/glue/scoped_clipboard_writer_glue.cc ...
8 years, 10 months ago (2012-02-17 21:06:51 UTC) #21
jeremy
LGTM
8 years, 10 months ago (2012-02-19 11:24:06 UTC) #22
tony
webkit LGTM
8 years, 10 months ago (2012-02-21 19:23:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peter@pcc.me.uk/9232075/25001
8 years, 10 months ago (2012-02-22 01:10:10 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peter@pcc.me.uk/9232075/33003
8 years, 10 months ago (2012-02-22 02:14:43 UTC) #25
commit-bot: I haz the power
8 years, 10 months ago (2012-02-22 04:54:29 UTC) #26
Change committed as 122972

Powered by Google App Engine
This is Rietveld 408576698