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

Unified Diff: content/shell/renderer/test_runner/test_runner.h

Issue 298263002: Battery Status API: add testing support for LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 7 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: content/shell/renderer/test_runner/test_runner.h
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h
index 49206c13aa5c7936ef139ca628de7ac4b22bbd53..86c92f6a1e612708b63850ec7bfbb4e8ec0118e8 100644
--- a/content/shell/renderer/test_runner/test_runner.h
+++ b/content/shell/renderer/test_runner/test_runner.h
@@ -300,6 +300,12 @@ class TestRunner : public WebTestRunner,
void SetMockScreenOrientation(const std::string& orientation);
+ void DidChangeBatteryStatus(bool charging,
+ double chargingTime,
+ double dischargingTime,
+ double level);
+ void ResetBatteryStatus();
+
void DidAcquirePointerLock();
void DidNotAcquirePointerLock();
void DidLosePointerLock();

Powered by Google App Engine
This is Rietveld 408576698