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

Issue 1012673004: Remove redundant android clipboard API calls from clipboard writing code

Created:
5 years, 9 months ago by ams
Modified:
5 years, 8 months ago
Reviewers:
dcheng
CC:
dcheng, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove redundant android clipboard API calls from clipboard writing code Remove android clipboard sync calls during writing clipboard data. Also restructure the code to avoid redundant setText() calls when HTML text is being set to clipboard. BUG=467532

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changes based on review #

Patch Set 3 : Change HTMLClipboard support checking position #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -25 lines) Patch
M ui/base/clipboard/clipboard_android.cc View 1 2 4 chunks +31 lines, -25 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
ams
On 2015/03/17 07:32:17, ams wrote: > mailto:amit.srkr@samsung.com changed reviewers: > + mailto:dcheng@chromium.org PTAL
5 years, 9 months ago (2015-03-17 07:33:19 UTC) #2
dcheng
What is the motivation for this change? Will this address functional bugs like https://crbug.com/369101? https://codereview.chromium.org/1012673004/diff/1/ui/base/clipboard/clipboard_android.cc ...
5 years, 9 months ago (2015-03-18 03:42:46 UTC) #3
ams
On 2015/03/18 03:42:46, dcheng wrote: > What is the motivation for this change? Will this ...
5 years, 9 months ago (2015-03-18 09:42:42 UTC) #4
ams
On 2015/03/18 09:42:42, ams wrote: > On 2015/03/18 03:42:46, dcheng wrote: > > What is ...
5 years, 8 months ago (2015-04-13 06:10:57 UTC) #5
dcheng
5 years, 8 months ago (2015-04-13 22:25:53 UTC) #6
Unofrtunately, I don't feel comfortable L-G-T-Ming Android clipboard patches
until we get the unit tests on Android working again.

I started working on this in https://codereview.chromium.org/1027993002 (which
is a pre-requisite for clipboard tests on Android), but don't currently have
time to follow up. Is this something you'd be willing to pick up?

Powered by Google App Engine
This is Rietveld 408576698