Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index a1fe147327e7c1d3817876c3c50618c13b1cd9f1..ba57196e1c9f5270904b99360a42483b30e3fcf5 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -32,7 +32,7 @@ namespace content { |
class BrowserContext; |
class ColorChooser; |
class DownloadItem; |
-class JavaScriptDialogCreator; |
+class JavaScriptDialogManager; |
class RenderViewHost; |
class WebContents; |
class WebContentsImpl; |
@@ -315,9 +315,9 @@ class CONTENT_EXPORT WebContentsDelegate { |
// been committed. |
virtual void DidNavigateToPendingEntry(WebContents* source) {} |
- // Returns a pointer to a service to create JavaScript dialogs. May return |
+ // Returns a pointer to a service to manage JavaScript dialogs. May return |
// NULL in which case dialogs aren't shown. |
- virtual JavaScriptDialogCreator* GetJavaScriptDialogCreator(); |
+ virtual JavaScriptDialogManager* GetJavaScriptDialogManager(); |
// Called when color chooser should open. Returns the opened color chooser. |
// Ownership of the returned pointer is transferred to the caller. |