Chromium Code Reviews| Index: Source/core/testing/Internals.cpp |
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
| index 15eb7ae86778849b9f6494aeff7b9c13712f97c3..62a89fbb3910fa4d53d4b4e207cf66a334508332 100644 |
| --- a/Source/core/testing/Internals.cpp |
| +++ b/Source/core/testing/Internals.cpp |
| @@ -115,6 +115,11 @@ |
| #include "modules/speech/DOMWindowSpeechSynthesis.h" |
| #include "modules/speech/SpeechSynthesis.h" |
| +// FIXME : Need to be removed this include statement |
| +// after implementing Partial interface for Internals's IDL. |
| +// This will be handled on the 261467 issue. |
| +#include "modules/vibration/NavigatorVibration.h" |
|
abarth-chromium
2013/07/18 07:39:07
This is a bad dependency. Rather than adding tech
|
| + |
| namespace WebCore { |
| static MockPagePopupDriver* s_pagePopupDriver = 0; |
| @@ -2005,4 +2010,11 @@ bool Internals::isSelectPopupVisible(Node* node) |
| return menuList->popupIsVisible(); |
| } |
| +bool Internals::isVibrating(Document* document) |
| +{ |
| + ASSERT(document && document->page()); |
| + |
| + return NavigatorVibration::from(document->page())->isVibrating(); |
| +} |
| + |
| } |