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

Issue 10695051: Upstream the Android clipboard implementation (Closed)

Created:
8 years, 5 months ago by cjhopman
Modified:
8 years, 5 months ago
Reviewers:
sky, dcheng
CC:
chromium-reviews, dcheng, John Grabowski, Peter Beverloo
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Upstream the Android clipboard implementation Previous discussion on upstreaming Android clipboard is at: http://codereview.chromium.org/9264014/ The main difference here is that synchronization has been pulled into a separate class to make it simpler/clearer (and more correct). This also simplifies a great deal of the logic. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145798

Patch Set 1 #

Total comments: 18

Patch Set 2 : #

Patch Set 3 : #

Total comments: 24

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -57 lines) Patch
M build/android/gtest_filter/ui_unittests_disabled View 1 chunk +0 lines, -8 lines 0 comments Download
M ui/base/clipboard/clipboard.h View 1 chunk +0 lines, -24 lines 0 comments Download
M ui/base/clipboard/clipboard_android.cc View 1 2 3 4 4 chunks +230 lines, -23 lines 0 comments Download
M ui/base/clipboard/clipboard_unittest.cc View 1 2 3 4 4 chunks +74 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
cjhopman
CC: jrg@, peter@ as you two were involved in the previous discussion
8 years, 5 months ago (2012-06-29 23:21:31 UTC) #1
dcheng
http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc#newcode43 ui/base/clipboard/clipboard_android.cc:43: public: 1-space indent for public/private http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc#newcode44 ui/base/clipboard/clipboard_android.cc:44: ClipboardMap(); 2 ...
8 years, 5 months ago (2012-06-30 03:28:42 UTC) #2
cjhopman
http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc#newcode43 ui/base/clipboard/clipboard_android.cc:43: public: On 2012/06/30 03:28:42, dcheng wrote: > 1-space indent ...
8 years, 5 months ago (2012-07-02 17:29:11 UTC) #3
dcheng
http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc#newcode107 ui/base/clipboard/clipboard_android.cc:107: return !Get(format).empty(); On 2012/07/02 17:29:11, cjhopman wrote: > On ...
8 years, 5 months ago (2012-07-02 20:22:30 UTC) #4
cjhopman
http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc#newcode107 ui/base/clipboard/clipboard_android.cc:107: return !Get(format).empty(); On 2012/07/02 20:22:30, dcheng wrote: > On ...
8 years, 5 months ago (2012-07-02 21:00:49 UTC) #5
dcheng
http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc#newcode107 ui/base/clipboard/clipboard_android.cc:107: return !Get(format).empty(); On 2012/07/02 21:00:49, cjhopman wrote: > On ...
8 years, 5 months ago (2012-07-02 21:09:52 UTC) #6
cjhopman
http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/1/ui/base/clipboard/clipboard_android.cc#newcode107 ui/base/clipboard/clipboard_android.cc:107: return !Get(format).empty(); On 2012/07/02 21:09:52, dcheng wrote: > On ...
8 years, 5 months ago (2012-07-02 22:33:25 UTC) #7
dcheng
http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_android.cc#newcode108 ui/base/clipboard/clipboard_android.cc:108: return it == map_.end() ? "" : it->second; Minor ...
8 years, 5 months ago (2012-07-02 22:50:19 UTC) #8
cjhopman
http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_android.cc File ui/base/clipboard/clipboard_android.cc (right): http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_android.cc#newcode108 ui/base/clipboard/clipboard_android.cc:108: return it == map_.end() ? "" : it->second; On ...
8 years, 5 months ago (2012-07-02 23:26:51 UTC) #9
dcheng
LGTM with the following addressed. http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_unittest.cc File ui/base/clipboard/clipboard_unittest.cc (right): http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_unittest.cc#newcode661 ui/base/clipboard/clipboard_unittest.cc:661: unsigned int fake_bitmap[] = ...
8 years, 5 months ago (2012-07-02 23:40:26 UTC) #10
cjhopman
http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_unittest.cc File ui/base/clipboard/clipboard_unittest.cc (right): http://codereview.chromium.org/10695051/diff/4005/ui/base/clipboard/clipboard_unittest.cc#newcode661 ui/base/clipboard/clipboard_unittest.cc:661: unsigned int fake_bitmap[] = { On 2012/07/02 23:40:26, dcheng ...
8 years, 5 months ago (2012-07-02 23:53:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/10695051/1008
8 years, 5 months ago (2012-07-09 21:17:03 UTC) #12
commit-bot: I haz the power
8 years, 5 months ago (2012-07-09 23:54:41 UTC) #13
Change committed as 145798

Powered by Google App Engine
This is Rietveld 408576698