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

Issue 8801038: Make Clipboard::FormatType an opaque handle type. (Closed)

Created:
9 years ago by dcheng
Modified:
9 years ago
Reviewers:
tony, jam, sky
CC:
chromium-reviews, dcheng
Visibility:
Public.

Description

Make Clipboard::FormatType an opaque handle type. BUG=106523 TEST=ui_unittests --gtest_filter=ClipboardTest.* and manual testing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113502

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Add missing file. #

Patch Set 5 : . #

Patch Set 6 : Implement Windows. #

Patch Set 7 : Aura implemented. #

Patch Set 8 : Minor fixes. #

Patch Set 9 : Fix win_aura #

Patch Set 10 : Fix Linux build too? #

Total comments: 10

Patch Set 11 : Address review comments. #

Patch Set 12 : Windows compile fixes. #

Total comments: 6

Patch Set 13 : Rebase #

Patch Set 14 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -232 lines) Patch
M chrome/browser/bookmarks/bookmark_node_data.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -4 lines 0 comments Download
M content/common/clipboard_messages.h View 1 2 chunks +18 lines, -1 line 0 comments Download
A content/common/clipboard_messages.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +30 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/clipboard/clipboard.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +75 lines, -30 lines 0 comments Download
M ui/base/clipboard/clipboard.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -2 lines 0 comments Download
M ui/base/clipboard/clipboard_aurax11.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +61 lines, -32 lines 0 comments Download
M ui/base/clipboard/clipboard_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +65 lines, -32 lines 0 comments Download
M ui/base/clipboard/clipboard_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +80 lines, -51 lines 0 comments Download
M ui/base/clipboard/clipboard_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +9 lines, -6 lines 0 comments Download
M ui/base/clipboard/clipboard_win.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +128 lines, -61 lines 0 comments Download
M ui/base/clipboard/scoped_clipboard_writer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/clipboard/scoped_clipboard_writer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/glue/webclipboard_impl.cc View 1 2 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dcheng
+jam for content and IPC changes, tony/sky to review the general idea behind the patch.
9 years ago (2011-12-06 10:08:31 UTC) #1
tony
http://codereview.chromium.org/8801038/diff/5029/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): http://codereview.chromium.org/8801038/diff/5029/ui/base/clipboard/clipboard.h#newcode215 ui/base/clipboard/clipboard.h:215: static FormatType RegisterFormatType(const std::string& format_string); Nit: I would perhaps ...
9 years ago (2011-12-06 18:58:29 UTC) #2
dcheng
http://codereview.chromium.org/8801038/diff/5029/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): http://codereview.chromium.org/8801038/diff/5029/ui/base/clipboard/clipboard.h#newcode215 ui/base/clipboard/clipboard.h:215: static FormatType RegisterFormatType(const std::string& format_string); On 2011/12/06 18:58:29, tony ...
9 years ago (2011-12-06 22:57:02 UTC) #3
tony
LG, just some questions for things that aren't clear to me. http://codereview.chromium.org/8801038/diff/17001/content/common/clipboard_messages.h File content/common/clipboard_messages.h (right): ...
9 years ago (2011-12-06 23:57:20 UTC) #4
sky
Since Tony (the clipboard expert) reviewed this, rubber stamp LGTM from me.
9 years ago (2011-12-06 23:58:28 UTC) #5
dcheng
http://codereview.chromium.org/8801038/diff/17001/content/common/clipboard_messages.h File content/common/clipboard_messages.h (right): http://codereview.chromium.org/8801038/diff/17001/content/common/clipboard_messages.h#newcode19 content/common/clipboard_messages.h:19: #define CONTENT_COMMON_CLIPBOARD_MESSAGES_H_ On 2011/12/06 23:57:20, tony wrote: > I ...
9 years ago (2011-12-07 00:09:01 UTC) #6
jam
content lgtm
9 years ago (2011-12-07 09:40:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/8801038/17001
9 years ago (2011-12-07 12:27:34 UTC) #8
commit-bot: I haz the power
Presubmit check for 8801038-17001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-07 12:27:42 UTC) #9
tony
LGTM
9 years ago (2011-12-07 18:06:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/8801038/17001
9 years ago (2011-12-07 18:08:41 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-07 20:26:59 UTC) #12
Try job failure for 8801038-17001 (retry) on mac_rel for step "ui_tests".
It's a second try, previously, step "ui_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698