Add ClipboardTest.java back

Desktop / Chromium - ctzsm [chromium.org] - 18 April 2017 12:40 EDT

ClipboardText.java got deleted due to crrev/2812773002. Some refactor because of new listener functions.

BUG=709549

Review-Url: https://codereview.chromium.org/2824593002 Cr-Commit-Position: refs/heads/master@{#465265}

7076919 Add ClipboardTest.java back
.../org/chromium/base/ApiCompatibilityUtils.java | 15 ++++++
ui/android/BUILD.gn | 2 +
.../java/src/org/chromium/ui/base/Clipboard.java | 36 ++++++++-----
.../src/org/chromium/ui/base/ClipboardTest.java | 59 ++++++++++++++++++++++
4 files changed, 98 insertions(+), 14 deletions(-)

Upstream: git.chromium.org


  • Share