Index: content/shell/renderer/test_runner/WebTestDelegate.h |
diff --git a/content/shell/renderer/test_runner/WebTestDelegate.h b/content/shell/renderer/test_runner/WebTestDelegate.h |
index 353d13f95b80f478d47b16c2885ea3019382c25b..31a9ad79f25bc8e7a8cba7820d5d316e17c0f50a 100644 |
--- a/content/shell/renderer/test_runner/WebTestDelegate.h |
+++ b/content/shell/renderer/test_runner/WebTestDelegate.h |
@@ -15,6 +15,7 @@ |
#define WEBTESTRUNNER_NEW_HISTORY_CAPTURE |
namespace blink { |
+class WebBatteryStatus; |
class WebDeviceMotionData; |
class WebDeviceOrientationData; |
class WebFrame; |
@@ -59,6 +60,9 @@ public: |
// Reset the screen orientation data used for testing. |
virtual void resetScreenOrientation() = 0; |
+ // Notifies blink about a change in battery status. |
+ virtual void didChangeBatteryStatus(const blink::WebBatteryStatus&) = 0; |
+ |
// Add a message to the text dump for the layout test. |
virtual void printMessage(const std::string& message) = 0; |