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

Unified Diff: Source/modules/vibration/testing/InternalsVibration.h

Issue 40443002: Add Vibration API layout tests that inspect internal state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Address review comments. Created 7 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
Index: Source/modules/vibration/testing/InternalsVibration.h
diff --git a/Source/modules/vibration/testing/InternalsVibration.h b/Source/modules/vibration/testing/InternalsVibration.h
index 7dbe566120bc6bf96a56c45201de78357338a072..4f0cf3e84caf345464d48913c9be982f9c21cc56 100644
--- a/Source/modules/vibration/testing/InternalsVibration.h
+++ b/Source/modules/vibration/testing/InternalsVibration.h
@@ -31,6 +31,8 @@
#ifndef InternalsVibration_h
#define InternalsVibration_h
+#include "wtf/Vector.h"
+
namespace WebCore {
class Document;
@@ -39,6 +41,7 @@ class Internals;
class InternalsVibration {
public:
static bool isVibrating(Internals*, Document*);
+ static Vector<unsigned> pendingVibrationPattern(Internals*, Document*);
};
} // namespace WebCore
« no previous file with comments | « Source/modules/vibration/NavigatorVibration.h ('k') | Source/modules/vibration/testing/InternalsVibration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698