| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
BUG=138542
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/1546123002
Cr-Commit-Position: refs/heads/master@{#366851}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently Android telemetry tests only use touch, but
there's no reason to not test mouse input as well.
This patch enables mouse wheel input, which will be used in
https://codereview.chromium.org/1157093002/.
BUG=317007
CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:android_nexus5_perf_bisect
Review URL: https://codereview.chromium.org/1159513004
Cr-Commit-Position: refs/heads/master@{#332894}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Google style guide states that only one of {virtual,override,final}
should be used for each declaration, since override implies virtual and
final implies both virtual and override.
This patch was automatically generated with an OS=android build using a
variation of https://codereview.chromium.org/598073004.
BUG=417463
R=aelias@chromium.org
Review URL: https://codereview.chromium.org/897783002
Cr-Commit-Position: refs/heads/master@{#314477}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content/browser/renderer_host
This step is a giant search and replace for OVERRIDE and FINAL to
replace them with their lowercase versions.
BUG=417463
Review URL: https://codereview.chromium.org/616603004
Cr-Commit-Position: refs/heads/master@{#298493}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of a zoom direction and the number of pixels to be covered by the pinch
gesture, the gesture now takes a scale factor as parameter. From that, it
computes how to perform the gesture: the ratio of the final span and the initial
span equals the scale factor (modulo touch slop). The spans must not fall below
a certain threshold, provided by the gesture target (GetMinScalingSpanInDips).
Update the JS interface (chrome.gpuBenchmarking.pinchBy) to reflect the changes.
For (temporary) backwards compatibility, add another method to the interface to
tell Telemetry whether or not the browser supports the new interface. This is to
avoid crashes when Telemetry is run with the current stable version. Will be
removed once the stable version supports the new interface.
Update tough_pinch_zoom_cases page set to make sure all pinch gestures start
within the web content (tested on N4 and N10).
Update synthetic gesture controller unit tests to use the new parameter.
BUG=309484
Review URL: https://codereview.chromium.org/293683002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272359 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide JS interface for chrome.gpuBenchmarking that allows for checking whether
a specific gesture source type is supported for synthetic gestures.
Telemetry uses this interface to skip a page, if a required gesture source type
is not supported by the browser.
Remove SyntheticGestureTarget::SupportsSyntheticGestureSourceType and CHECK(false) on unsupported input types instead.
BUG=361632
Review URL: https://codereview.chromium.org/235893012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265365 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace content::InputEvent usage with blink::WebInputEvent usage in synthetic
gesture dispatch. This affords the SyntheticGestureTarget a chance to generate
the necessary ui::LatencyInfo components prior to event dispatch, simplifying
the hooks necessary for telemetry and easing the burden on the gesture dispatch
caller.
BUG=246034
Review URL: https://codereview.chromium.org/134123003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244254 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this CL, synthetic gestures add timestamps to the events they generate.
This allows us to have timestamps that are not necessarily aligned to frame
boundaries. The timestamps are converted to native timestamps by the synthetic
gesture targets.
The synthetic gesture controller passes timestamps instead of intervals to the
gestures.
BUG=297980
Review URL: https://codereview.chromium.org/119323007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243299 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Touchscreen devices typically have a 'touch slop', i.e. a certain distance a
pointer has to move before it is considered moving. The touch slop is subtracted
from the distance a pointer moves. So if the touch slop is 10 pixels and a
pointer moves by 100 pixels on the screen, the resulting move is registered as
having covered only 90 pixels.
This patch adds the 'GetTouchSlopInDips' to SyntheticGestureTargets. This value
is used by the gestures to increase the distances covered by touch pointers. For
example, to scroll 100 pixels with a touch slop of 10 pixels, the pointer will
cover 110 pixels.
Touch-based synthetic gestures are updated to take the touch slop into account.
BUG=321114
Review URL: https://codereview.chromium.org/95153002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238248 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than relying on an internal timer, the gesture controller will be driven
by the SyntheticGestureTarget. By default, the target uses a timer to
periodically flush the gesture controller. But, if available on the platform,
this should be driven by the vsync.
BUG=297980, 314272
Review URL: https://codereview.chromium.org/62953008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234818 0039d316-1c4b-4281-b951-d872f2087c98
|
|
This will be used from SyntheticGesture implementations such as SyntheticSmoothScrollGesture(New) to inject input events in a Android/aura specific way. The patch also includes fallback implementation in SyntheticGetsureTargetBase which passes the input events to RWH.
BUG=297960
BUG=306459
Review URL: https://codereview.chromium.org/26664002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234354 0039d316-1c4b-4281-b951-d872f2087c98
|