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

Unified Diff: Source/devtools/front_end/sdk/DOMModel.js

Issue 693893002: [DevTools] Add configuration parameter to Page.setTouchEmulationEnabled. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « Source/devtools/front_end/main/Tests.js ('k') | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/DOMModel.js
diff --git a/Source/devtools/front_end/sdk/DOMModel.js b/Source/devtools/front_end/sdk/DOMModel.js
index 4e178e21b7c4da810283d403c67c82f6d48db308..04fb69e80924b64aa51ba2cce180f693ff483030 100644
--- a/Source/devtools/front_end/sdk/DOMModel.js
+++ b/Source/devtools/front_end/sdk/DOMModel.js
@@ -1592,8 +1592,9 @@ WebInspector.DOMModel.prototype = {
/**
* @param {boolean} emulationEnabled
+ * @param {string} configuration
*/
- emulateTouchEventObjects: function(emulationEnabled)
+ emulateTouchEventObjects: function(emulationEnabled, configuration)
{
/**
* @suppressGlobalPropertiesCheck
@@ -1632,7 +1633,7 @@ WebInspector.DOMModel.prototype = {
this._addTouchEventsScriptId = scriptId;
}
- PageAgent.setTouchEmulationEnabled(emulationEnabled);
+ PageAgent.setTouchEmulationEnabled(emulationEnabled, configuration);
},
markUndoableState: function()
« no previous file with comments | « Source/devtools/front_end/main/Tests.js ('k') | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698