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

Issue 8606002: Remove Task inheritance in clipboard code. (Closed)

Created:
9 years, 1 month ago by dcheng
Modified:
9 years, 1 month ago
Reviewers:
tony, ajwong, jam, awong, sky
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dcheng, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Remove Task inheritance in clipboard code. In one instance, we can simply use currying to remove the need to inherit from Task; in the other, we retain the wrapper since it wraps an Objective-C call. Also remove an overload of ui::Clipboard::WriteObjects that's never used. BUG=none TEST=trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111080

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Fix FlashClipboard #

Total comments: 1

Patch Set 5 : Address feedback from jam #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -35 lines) Patch
M content/browser/renderer_host/clipboard_message_filter.cc View 1 2 3 4 4 chunks +9 lines, -20 lines 0 comments Download
M content/browser/renderer_host/clipboard_message_filter_mac.mm View 3 chunks +14 lines, -3 lines 0 comments Download
M ui/base/clipboard/clipboard.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M ui/base/clipboard/clipboard_mac.mm View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/clipboard/clipboard_win.cc View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dcheng
tony for the main review and ajwong for some new callback questions: - Is there ...
9 years, 1 month ago (2011-11-21 01:05:58 UTC) #1
awong
LGTM There isn't a way to convert from a bound pointer into a const&. I ...
9 years, 1 month ago (2011-11-21 20:16:12 UTC) #2
tony
LGTM, but you'll probably need some content and ui owners.
9 years, 1 month ago (2011-11-21 21:58:48 UTC) #3
dcheng
+jam for more content approvals.
9 years, 1 month ago (2011-11-21 22:03:51 UTC) #4
jam
content lgtm http://codereview.chromium.org/8606002/diff/4003/content/browser/renderer_host/clipboard_message_filter.cc File content/browser/renderer_host/clipboard_message_filter.cc (right): http://codereview.chromium.org/8606002/diff/4003/content/browser/renderer_host/clipboard_message_filter.cc#newcode31 content/browser/renderer_host/clipboard_message_filter.cc:31: DCHECK(objects); this is gratuitous, if someone passes ...
9 years, 1 month ago (2011-11-21 23:48:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/8606002/9002
9 years, 1 month ago (2011-11-22 00:02:49 UTC) #6
commit-bot: I haz the power
Presubmit check for 8606002-9002 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-22 00:02:53 UTC) #7
dcheng
+sky for approval for ui/base/* changes.
9 years, 1 month ago (2011-11-22 00:04:57 UTC) #8
sky
LGTM
9 years, 1 month ago (2011-11-22 00:29:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/8606002/9002
9 years, 1 month ago (2011-11-22 00:33:19 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 02:22:26 UTC) #11
Change committed as 111080

Powered by Google App Engine
This is Rietveld 408576698