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

Unified Diff: Source/modules/vibration/NavigatorVibration.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: 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/NavigatorVibration.h
diff --git a/Source/modules/vibration/NavigatorVibration.h b/Source/modules/vibration/NavigatorVibration.h
index 32b21ad7fd18a863ebca47ead51d2e44701b18ff..8058077a63ed76f134e4b9478dcced1f9a4d4b7a 100644
--- a/Source/modules/vibration/NavigatorVibration.h
+++ b/Source/modules/vibration/NavigatorVibration.h
@@ -53,6 +53,7 @@ public:
static NavigatorVibration* from(Page*);
bool isVibrating() const { return m_isVibrating; }
+ VibrationPattern getPattern() const { return m_pattern; }
Peter Beverloo 2013/10/24 17:46:59 Blink style doesn't use the "get" prefix for gette
Michael van Ouwerkerk 2013/10/25 10:26:39 Done.
private:
explicit NavigatorVibration(Page*);

Powered by Google App Engine
This is Rietveld 408576698