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

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

Issue 906753002: Revert of Added MockPresentationClient to use in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index cd91523abfa0b998b9032183a02af5377e943390..7bf164bbfbb5dbf71db4a03aa041a4f82b4e3cc7 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -204,7 +204,6 @@
double dischargingTime,
double level);
void ResetBatteryStatus();
- void SetMockScreenAvailability(bool available);
void DidAcquirePointerLock();
void DidNotAcquirePointerLock();
void DidLosePointerLock();
@@ -411,8 +410,6 @@
.SetMethod("didChangeBatteryStatus",
&TestRunnerBindings::DidChangeBatteryStatus)
.SetMethod("resetBatteryStatus", &TestRunnerBindings::ResetBatteryStatus)
- .SetMethod("setMockScreenAvailability",
- &TestRunnerBindings::SetMockScreenAvailability)
.SetMethod("didAcquirePointerLock",
&TestRunnerBindings::DidAcquirePointerLock)
.SetMethod("didNotAcquirePointerLock",
@@ -967,11 +964,6 @@
runner_->ResetBatteryStatus();
}
-void TestRunnerBindings::SetMockScreenAvailability(bool available) {
- if (runner_)
- runner_->SetMockScreenAvailability(available);
-}
-
void TestRunnerBindings::DidAcquirePointerLock() {
if (runner_)
runner_->DidAcquirePointerLock();
@@ -2453,10 +2445,6 @@
void TestRunner::ResetBatteryStatus() {
blink::WebBatteryStatus status;
delegate_->DidChangeBatteryStatus(status);
-}
-
-void TestRunner::SetMockScreenAvailability(bool available) {
- delegate_->SetScreenAvailability(available);
}
void TestRunner::DidAcquirePointerLock() {
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.h ('k') | content/shell/renderer/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698