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

Unified Diff: content/test/content_browser_test_utils.cc

Issue 12082123: Rename JavaScriptDialogCreator to JavaScriptDialogManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 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_javascript_dialog_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test_utils.cc
diff --git a/content/test/content_browser_test_utils.cc b/content/test/content_browser_test_utils.cc
index 1e92c7faf1a62b90f664bfe7f07c4de7e66a6968..b8c64c378d77a6037fd00d4765cedb6bf46a0abc 100644
--- a/content/test/content_browser_test_utils.cc
+++ b/content/test/content_browser_test_utils.cc
@@ -16,7 +16,7 @@
#include "content/public/test/test_navigation_observer.h"
#include "content/public/test/test_utils.h"
#include "content/shell/shell.h"
-#include "content/shell/shell_javascript_dialog_creator.h"
+#include "content/shell/shell_javascript_dialog_manager.h"
#include "net/base/net_util.h"
namespace content {
@@ -55,12 +55,12 @@ void NavigateToURL(Shell* window, const GURL& url) {
}
void WaitForAppModalDialog(Shell* window) {
- ShellJavaScriptDialogCreator* dialog_creator =
- static_cast<ShellJavaScriptDialogCreator*>(
- window->GetJavaScriptDialogCreator());
+ ShellJavaScriptDialogManager* dialog_manager=
+ static_cast<ShellJavaScriptDialogManager*>(
+ window->GetJavaScriptDialogManager());
scoped_refptr<MessageLoopRunner> runner = new MessageLoopRunner();
- dialog_creator->set_dialog_request_callback(runner->QuitClosure());
+ dialog_manager->set_dialog_request_callback(runner->QuitClosure());
runner->Run();
}
« no previous file with comments | « content/shell/shell_javascript_dialog_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698