Index: content/browser/javascript_dialogs.h |
diff --git a/content/browser/javascript_dialogs.h b/content/browser/javascript_dialogs.h |
index 4b1af55633bdf76bb6dc9849607de7c3c8b22481..31e13c4251e0d1ef82d79076216c12ecb8b0a9c4 100644 |
--- a/content/browser/javascript_dialogs.h |
+++ b/content/browser/javascript_dialogs.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "base/string16.h" |
+#include "content/browser/renderer_host/render_view_host.h" |
#include "content/common/content_export.h" |
#include "ui/base/javascript_message_type.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -34,7 +35,8 @@ class CONTENT_EXPORT DialogDelegate { |
class CONTENT_EXPORT JavaScriptDialogDelegate : public DialogDelegate { |
public: |
// This callback is invoked when the dialog is closed. |
- virtual void OnDialogClosed(IPC::Message* reply_msg, |
+ virtual void OnDialogClosed(RenderViewHost* rvh, |
+ IPC::Message* reply_msg, |
bool success, |
const string16& user_input) = 0; |