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

Unified Diff: content/shell/shell_javascript_dialog_creator.cc

Issue 10860037: [content shell] rename layout_test_controller{,_host,_bindings}.* to webkit_test_runner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 4 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
« no previous file with comments | « content/shell/shell_content_renderer_client.cc ('k') | content/shell/shell_render_process_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_javascript_dialog_creator.cc
diff --git a/content/shell/shell_javascript_dialog_creator.cc b/content/shell/shell_javascript_dialog_creator.cc
index 8752e4c41e763c624c27cf271da1eeafebb277b3..e7f0b779093bbdf7d717a4f3d33b77b0a6bb055c 100644
--- a/content/shell/shell_javascript_dialog_creator.cc
+++ b/content/shell/shell_javascript_dialog_creator.cc
@@ -9,9 +9,9 @@
#include "base/utf_string_conversions.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_view.h"
-#include "content/shell/layout_test_controller_host.h"
#include "content/shell/shell_javascript_dialog.h"
#include "content/shell/shell_switches.h"
+#include "content/shell/webkit_test_runner_host.h"
#include "net/base/net_util.h"
namespace content {
@@ -87,8 +87,8 @@ void ShellJavaScriptDialogCreator::RunBeforeUnloadDialog(
const DialogClosedCallback& callback) {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
printf("CONFIRM NAVIGATION: %s\n", UTF16ToUTF8(message_text).c_str());
- LayoutTestControllerHost* controller =
- LayoutTestControllerHost::FromRenderViewHost(
+ WebKitTestRunnerHost* controller =
+ WebKitTestRunnerHost::FromRenderViewHost(
web_contents->GetRenderViewHost());
callback.Run(
!controller->should_stay_on_page_after_handling_before_unload(),
« no previous file with comments | « content/shell/shell_content_renderer_client.cc ('k') | content/shell/shell_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698