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

Side by Side Diff: third_party/WebKit/LayoutTests/vibration/resources/vibrate-from-iframe.html

Issue 2755363002: [DeviceService] Port VibrationManager to be hosted in Device Service (Closed)
Patch Set: Rebase only Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 'use strict'; 3 'use strict';
4 4
5 window.onmessage = msg => { 5 navigator.vibrate(1234);
6 if (msg.data === 'Ready') {
7 navigator.vibrate(1234);
8 }
9 };
10 6
11 </script> 7 </script>
OLDNEW
« no previous file with comments | « services/device/manifest.json ('k') | third_party/WebKit/LayoutTests/vibration/resources/vibration-helpers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698