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

Issue 686123003: Expose a static interface to TouchCommon on Android. (Closed)

Created:
6 years, 1 month ago by Ted C
Modified:
6 years, 1 month ago
Reviewers:
Yaron
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Expose a static interface to TouchCommon on Android. Removes the unnecessary dependency on the passed in test base for getting the root view for event dispatching. If views are passed in, then use their own getRootView to ensure event dispatching takes place on the expected activity. Otherwise, this exposes methods that take an explicit activity instead of relying on the instrumentation test base. BUG=427031 Committed: https://crrev.com/56bf264834f0274eb99446d4e17656cf66a726f1 Cr-Commit-Position: refs/heads/master@{#301918}

Patch Set 1 #

Patch Set 2 : Removed unnecessary javadoc added #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -60 lines) Patch
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java View 1 9 chunks +118 lines, -60 lines 2 comments Download

Messages

Total messages: 8 (2 generated)
Ted C
@yfriedman - Here's what I had in mind.
6 years, 1 month ago (2014-10-29 17:51:40 UTC) #2
Yaron
lgtm https://codereview.chromium.org/686123003/diff/20001/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java File content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java (right): https://codereview.chromium.org/686123003/diff/20001/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java#newcode24 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java:24: private ActivityInstrumentationTestCase2<?> mActivityTestCase; How about changing the member ...
6 years, 1 month ago (2014-10-29 18:11:25 UTC) #3
Ted C
https://codereview.chromium.org/686123003/diff/20001/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java File content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java (right): https://codereview.chromium.org/686123003/diff/20001/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java#newcode24 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java:24: private ActivityInstrumentationTestCase2<?> mActivityTestCase; On 2014/10/29 18:11:25, Yaron (on leave) ...
6 years, 1 month ago (2014-10-29 19:51:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/686123003/20001
6 years, 1 month ago (2014-10-29 19:53:41 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-29 20:41:16 UTC) #7
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 20:42:02 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/56bf264834f0274eb99446d4e17656cf66a726f1
Cr-Commit-Position: refs/heads/master@{#301918}

Powered by Google App Engine
This is Rietveld 408576698