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

Unified Diff: content/shell/browser/layout_test/blink_test_controller.cc

Issue 1828983002: Revert of [DevTools] Use InspectorFrontendHost.readyForTest for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ready-for-test
Patch Set: Created 4 years, 9 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/browser/layout_test/blink_test_controller.cc
diff --git a/content/shell/browser/layout_test/blink_test_controller.cc b/content/shell/browser/layout_test/blink_test_controller.cc
index 9f4b1b7ee806ac37dd880556f60bd8441986c48f..b823e7feca30e350616fffe5cc4b047db8479efd 100644
--- a/content/shell/browser/layout_test/blink_test_controller.cc
+++ b/content/shell/browser/layout_test/blink_test_controller.cc
@@ -413,8 +413,6 @@
IPC_MESSAGE_HANDLER(ShellViewHostMsg_ClearDevToolsLocalStorage,
OnClearDevToolsLocalStorage)
IPC_MESSAGE_HANDLER(ShellViewHostMsg_ShowDevTools, OnShowDevTools)
- IPC_MESSAGE_HANDLER(ShellViewHostMsg_EvaluateInDevTools,
- OnEvaluateInDevTools)
IPC_MESSAGE_HANDLER(ShellViewHostMsg_CloseDevTools, OnCloseDevTools)
IPC_MESSAGE_HANDLER(ShellViewHostMsg_GoToOffset, OnGoToOffset)
IPC_MESSAGE_HANDLER(ShellViewHostMsg_Reload, OnReload)
@@ -765,12 +763,6 @@
}
devtools_frontend_->Activate();
devtools_frontend_->Focus();
-}
-
-void BlinkTestController::OnEvaluateInDevTools(
- int call_id, const std::string& script) {
- if (devtools_frontend_)
- devtools_frontend_->EvaluateInFrontend(call_id, script);
}
void BlinkTestController::OnCloseDevTools() {

Powered by Google App Engine
This is Rietveld 408576698