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

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: fix comments 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 2c7f2a36cc1f8110ea1f066e45f55cf671769732..ffeb9d95ea1a81d2a650858ae230d84b270fdfec 100644
--- a/content/shell/renderer/test_runner/test_runner.h
+++ b/content/shell/renderer/test_runner/test_runner.h
@@ -301,6 +301,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();
« no previous file with comments | « content/shell/renderer/test_runner/WebTestDelegate.h ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698