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

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: 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
« no previous file with comments | « LayoutTests/vibration/vibration-utils.js ('k') | Source/modules/vibration/testing/InternalsVibration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/vibration/NavigatorVibration.h
diff --git a/Source/modules/vibration/NavigatorVibration.h b/Source/modules/vibration/NavigatorVibration.h
index 32b21ad7fd18a863ebca47ead51d2e44701b18ff..d1243e7b896315585a47b8727e5aa273f2e9e077 100644
--- a/Source/modules/vibration/NavigatorVibration.h
+++ b/Source/modules/vibration/NavigatorVibration.h
@@ -54,6 +54,8 @@ public:
bool isVibrating() const { return m_isVibrating; }
+ VibrationPattern pattern() const { return m_pattern; }
+
private:
explicit NavigatorVibration(Page*);
static const char* supplementName();
« no previous file with comments | « LayoutTests/vibration/vibration-utils.js ('k') | Source/modules/vibration/testing/InternalsVibration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698