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

Unified Diff: content/shell/shell_javascript_dialog_manager.h

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_mac.mm ('k') | content/shell/shell_javascript_dialog_manager.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.h
diff --git a/content/shell/shell_javascript_dialog_creator.h b/content/shell/shell_javascript_dialog_manager.h
similarity index 76%
rename from content/shell/shell_javascript_dialog_creator.h
rename to content/shell/shell_javascript_dialog_manager.h
index 55fd548fc1607c5ccef0fa8e62079c57f1577708..8ec82be10b2560f1e5078b57cae4b7f2b3f3f13c 100644
--- a/content/shell/shell_javascript_dialog_creator.h
+++ b/content/shell/shell_javascript_dialog_manager.h
@@ -2,24 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_
-#define CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_
+#ifndef CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_
+#define CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_
-#include "base/compiler_specific.h"
#include "base/callback_forward.h"
+#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "content/public/browser/javascript_dialogs.h"
+#include "content/public/browser/javascript_dialog_manager.h"
namespace content {
class ShellJavaScriptDialog;
-class ShellJavaScriptDialogCreator : public JavaScriptDialogCreator {
+class ShellJavaScriptDialogManager : public JavaScriptDialogManager {
public:
- ShellJavaScriptDialogCreator();
- virtual ~ShellJavaScriptDialogCreator();
+ ShellJavaScriptDialogManager();
+ virtual ~ShellJavaScriptDialogManager();
- // JavaScriptDialogCreator:
+ // JavaScriptDialogManager:
virtual void RunJavaScriptDialog(
WebContents* web_contents,
const GURL& origin_url,
@@ -56,9 +56,9 @@ class ShellJavaScriptDialogCreator : public JavaScriptDialogCreator {
base::Closure dialog_request_callback_;
- DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialogCreator);
+ DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialogManager);
};
} // namespace content
-#endif // CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_CREATOR_H_
+#endif // CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_
« no previous file with comments | « content/shell/shell_javascript_dialog_mac.mm ('k') | content/shell/shell_javascript_dialog_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698