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

Side by Side Diff: content/shell/browser/layout_test/layout_test_devtools_frontend.cc

Issue 1128633002: content: Rename WebKitTestController to BlinkTestController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clang-format Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" 5 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 #include "content/shell/browser/blink_test_controller.h"
11 #include "content/shell/browser/shell.h" 12 #include "content/shell/browser/shell.h"
12 #include "content/shell/browser/webkit_test_controller.h"
13 #include "net/base/filename_util.h" 13 #include "net/base/filename_util.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 // static 17 // static
18 LayoutTestDevToolsFrontend* LayoutTestDevToolsFrontend::Show( 18 LayoutTestDevToolsFrontend* LayoutTestDevToolsFrontend::Show(
19 WebContents* inspected_contents, 19 WebContents* inspected_contents,
20 const std::string& settings, 20 const std::string& settings,
21 const std::string& frontend_url) { 21 const std::string& frontend_url) {
22 Shell* shell = Shell::CreateNewWindow(inspected_contents->GetBrowserContext(), 22 Shell* shell = Shell::CreateNewWindow(inspected_contents->GetBrowserContext(),
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 LayoutTestDevToolsFrontend::~LayoutTestDevToolsFrontend() { 75 LayoutTestDevToolsFrontend::~LayoutTestDevToolsFrontend() {
76 } 76 }
77 77
78 void LayoutTestDevToolsFrontend::AgentHostClosed( 78 void LayoutTestDevToolsFrontend::AgentHostClosed(
79 DevToolsAgentHost* agent_host, bool replaced) { 79 DevToolsAgentHost* agent_host, bool replaced) {
80 // Do not close the front-end shell. 80 // Do not close the front-end shell.
81 } 81 }
82 82
83 void LayoutTestDevToolsFrontend::RenderProcessGone( 83 void LayoutTestDevToolsFrontend::RenderProcessGone(
84 base::TerminationStatus status) { 84 base::TerminationStatus status) {
85 WebKitTestController::Get()->DevToolsProcessCrashed(); 85 BlinkTestController::Get()->DevToolsProcessCrashed();
86 } 86 }
87 87
88 } // namespace content 88 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698