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

Unified Diff: content/public/browser/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/content_shell.gypi ('k') | content/public/browser/javascript_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/javascript_dialog_manager.h
diff --git a/content/public/browser/javascript_dialogs.h b/content/public/browser/javascript_dialog_manager.h
similarity index 85%
rename from content/public/browser/javascript_dialogs.h
rename to content/public/browser/javascript_dialog_manager.h
index 9c67d9397fb01ac7262e70f03e4978025abc4801..64f7b9b3a55bfef8ff9ac532a9b4e691a93d1770 100644
--- a/content/public/browser/javascript_dialogs.h
+++ b/content/public/browser/javascript_dialog_manager.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_
-#define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_
+#ifndef CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
+#define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
#include <string>
@@ -18,9 +18,9 @@ namespace content {
class WebContents;
-// An interface consisting of methods that can be called to produce JavaScript
-// dialogs.
-class JavaScriptDialogCreator {
+// An interface consisting of methods that can be called to produce and manage
+// JavaScript dialogs.
+class JavaScriptDialogManager {
public:
typedef base::Callback<void(bool /* success */,
const string16& /* user_input */)>
@@ -48,9 +48,9 @@ class JavaScriptDialogCreator {
// for the given WebContents.
virtual void ResetJavaScriptState(WebContents* web_contents) = 0;
- virtual ~JavaScriptDialogCreator() {}
+ virtual ~JavaScriptDialogManager() {}
};
} // namespace content
-#endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_
+#endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
« no previous file with comments | « content/content_shell.gypi ('k') | content/public/browser/javascript_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698