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

Unified Diff: device/vibration/vibration_manager.mojom

Issue 583663003: Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove debug logging Created 6 years, 3 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
Index: device/vibration/vibration_manager.mojom
diff --git a/mojo/examples/wm_flow/app/embedder.mojom b/device/vibration/vibration_manager.mojom
similarity index 67%
copy from mojo/examples/wm_flow/app/embedder.mojom
copy to device/vibration/vibration_manager.mojom
index aae787052f7ace9ee64d330dcaf565b5c9822dcf..757fd8b0cda008755aacac500f375e2506a47762 100644
--- a/mojo/examples/wm_flow/app/embedder.mojom
+++ b/device/vibration/vibration_manager.mojom
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module examples {
+module device {
-interface Embedder {
- HelloWorld() => ();
+interface VibrationManager {
+ Vibrate(int64 millis);
+ Cancel();
};
-}
+}

Powered by Google App Engine
This is Rietveld 408576698