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

Unified Diff: content/shell/renderer/layout_test/webkit_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/layout_test/webkit_test_runner.cc
diff --git a/content/shell/renderer/layout_test/webkit_test_runner.cc b/content/shell/renderer/layout_test/webkit_test_runner.cc
index 8b05d4c2c044d462e028a78af3284a8de571496b..28c12fc0187a606c79209134d9b25d68d9442a47 100644
--- a/content/shell/renderer/layout_test/webkit_test_runner.cc
+++ b/content/shell/renderer/layout_test/webkit_test_runner.cc
@@ -35,7 +35,6 @@
#include "content/shell/renderer/layout_test/gc_controller.h"
#include "content/shell/renderer/layout_test/layout_test_render_process_observer.h"
#include "content/shell/renderer/layout_test/leak_detector.h"
-#include "content/shell/renderer/test_runner/mock_presentation_client.h"
#include "content/shell/renderer/test_runner/mock_screen_orientation_client.h"
#include "content/shell/renderer/test_runner/web_task.h"
#include "content/shell/renderer/test_runner/web_test_interfaces.h"
@@ -249,11 +248,6 @@
MockBatteryStatusChanged(status);
}
-void WebKitTestRunner::SetScreenAvailability(bool available) {
- MockPresentationClient* mock_client = proxy()->GetPresentationClientMock();
- mock_client->SetScreenAvailability(available);
-}
-
void WebKitTestRunner::PrintMessage(const std::string& message) {
Send(new ShellViewHostMsg_PrintMessage(routing_id(), message));
}
« no previous file with comments | « content/shell/renderer/layout_test/webkit_test_runner.h ('k') | content/shell/renderer/test_runner/mock_presentation_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698