Chromium Code Reviews| Index: third_party/WebKit/public/web/WebView.h |
| diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h |
| index 18b2e9dd47d0958c1d1ebd9dc4ed86d61e9e7301..00b580637d031d8655cdbcc392e8014b329ad66f 100644 |
| --- a/third_party/WebKit/public/web/WebView.h |
| +++ b/third_party/WebKit/public/web/WebView.h |
| @@ -487,6 +487,10 @@ public: |
| // context's ability to deal with that failure gracefully can be tested. |
| virtual void forceNextDrawingBufferCreationToFail() = 0; |
| + // Updates or resets the battery status. |
| + virtual void updateBatteryStatusForTesting(bool charging, double chargingTime, double dischargingTime, double level) = 0; |
| + virtual void resetBatteryStatusForTesting() = 0; |
|
kinuko
2016/02/16 10:09:18
Hmm, these don't look they belong to WebView...
Yuki
2016/02/16 13:21:59
I think we can remove these functions when http://
kinuko
2016/02/16 22:53:39
Could you please add TODO to remove these then, I
Yuki
2016/02/17 09:12:54
I see. Added a TODO comment.
|
| + |
| protected: |
| ~WebView() {} |
| }; |