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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 1538803002: Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 years, 10 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: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index c8dfebd785015286a412da3cc3a6dd3a8050dbef..2b9ec541a92740de1ffcc989f6e9951860717864 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -516,6 +516,8 @@ public:
void forceNextWebGLContextCreationToFail() override;
void forceNextDrawingBufferCreationToFail() override;
+ void updateBatteryStatusForTesting(bool charging, double chargingTime, double dischargingTime, double level) override;
esprehn 2016/02/18 06:48:13 Move this to platform.
+ void resetBatteryStatusForTesting() override;
IntSize mainFrameSize();
WebDisplayMode displayMode() const { return m_displayMode; }

Powered by Google App Engine
This is Rietveld 408576698