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

Unified Diff: trunk/src/tools/telemetry/telemetry/page/actions/scroll.js

Issue 79143002: Revert 236254 "Replace old with new synthetic gesture framework." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/tools/telemetry/telemetry/page/actions/scroll.js
===================================================================
--- trunk/src/tools/telemetry/telemetry/page/actions/scroll.js (revision 236262)
+++ trunk/src/tools/telemetry/telemetry/page/actions/scroll.js (working copy)
@@ -16,12 +16,10 @@
this.element_ = opt_options.element;
this.left_start_percentage_ = opt_options.left_start_percentage;
this.top_start_percentage_ = opt_options.top_start_percentage;
- this.gesture_source_type = opt_options.gesture_source_type;
} else {
this.element_ = document.body;
this.left_start_percentage_ = 0.5;
this.top_start_percentage_ = 0.5;
- this.gesture_source_type = chrome.gpuBenchmarking.DEFAULT_INPUT;
}
}
@@ -75,7 +73,7 @@
rect.top + rect.height * this.options_.top_start_percentage_;
chrome.gpuBenchmarking.smoothScrollBy(distance, function() {
callback();
- }, start_left, start_top, this.options_.gesture_source_type);
+ }, start_left, start_top);
};
// This class scrolls a page from the top to the bottom once.
« no previous file with comments | « trunk/src/content/renderer/render_widget.cc ('k') | trunk/src/tools/telemetry/telemetry/page/actions/scroll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698