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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2513423003: DevTools: Convert inspector-unit tests to use reusable test harness (Closed)
Patch Set: clean diff Created 4 years, 1 month 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/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 69cd4cb18de6430cc8188cdbd60fff005e95e239..e52d843f8b37a4975d6897489eacb5269e35015b 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -637,6 +637,12 @@ void BlinkTestRunner::Reload() {
Send(new ShellViewHostMsg_Reload(routing_id()));
}
+void BlinkTestRunner::LoadURLForMainFrame(const WebURL& url) {
+ std::string frame_name =
+ render_view()->GetMainRenderFrame()->GetWebFrame()->uniqueName().utf8();
+ LoadURLForFrame(url, frame_name);
+}
+
void BlinkTestRunner::LoadURLForFrame(const WebURL& url,
const std::string& frame_name) {
Send(new ShellViewHostMsg_LoadURLForFrame(

Powered by Google App Engine
This is Rietveld 408576698