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

Unified Diff: content/shell/shell_javascript_dialog_manager.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_manager.h ('k') | content/shell/shell_javascript_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_javascript_dialog_manager.cc
diff --git a/content/shell/shell_javascript_dialog_creator.cc b/content/shell/shell_javascript_dialog_manager.cc
similarity index 90%
rename from content/shell/shell_javascript_dialog_creator.cc
rename to content/shell/shell_javascript_dialog_manager.cc
index 6013bfa3535e258fd38a7f3f025ad2fd8090e042..bb85a28a5668c6ec05b77d7ace348edc2e6bc328 100644
--- a/content/shell/shell_javascript_dialog_creator.cc
+++ b/content/shell/shell_javascript_dialog_manager.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/shell/shell_javascript_dialog_creator.h"
+#include "content/shell/shell_javascript_dialog_manager.h"
#include "base/command_line.h"
#include "base/logging.h"
@@ -16,13 +16,13 @@
namespace content {
-ShellJavaScriptDialogCreator::ShellJavaScriptDialogCreator() {
+ShellJavaScriptDialogManager::ShellJavaScriptDialogManager() {
}
-ShellJavaScriptDialogCreator::~ShellJavaScriptDialogCreator() {
+ShellJavaScriptDialogManager::~ShellJavaScriptDialogManager() {
}
-void ShellJavaScriptDialogCreator::RunJavaScriptDialog(
+void ShellJavaScriptDialogManager::RunJavaScriptDialog(
WebContents* web_contents,
const GURL& origin_url,
const std::string& accept_lang,
@@ -71,7 +71,7 @@ void ShellJavaScriptDialogCreator::RunJavaScriptDialog(
#endif
}
-void ShellJavaScriptDialogCreator::RunBeforeUnloadDialog(
+void ShellJavaScriptDialogManager::RunBeforeUnloadDialog(
WebContents* web_contents,
const string16& message_text,
bool is_reload,
@@ -118,7 +118,7 @@ void ShellJavaScriptDialogCreator::RunBeforeUnloadDialog(
#endif
}
-void ShellJavaScriptDialogCreator::ResetJavaScriptState(
+void ShellJavaScriptDialogManager::ResetJavaScriptState(
WebContents* web_contents) {
#if defined(OS_MACOSX) || defined(OS_WIN) || defined(TOOLKIT_GTK)
if (dialog_.get()) {
@@ -130,7 +130,7 @@ void ShellJavaScriptDialogCreator::ResetJavaScriptState(
#endif
}
-void ShellJavaScriptDialogCreator::DialogClosed(ShellJavaScriptDialog* dialog) {
+void ShellJavaScriptDialogManager::DialogClosed(ShellJavaScriptDialog* dialog) {
#if defined(OS_MACOSX) || defined(OS_WIN) || defined(TOOLKIT_GTK)
DCHECK_EQ(dialog, dialog_.get());
dialog_.reset();
« no previous file with comments | « content/shell/shell_javascript_dialog_manager.h ('k') | content/shell/shell_javascript_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698