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

Unified Diff: content/browser/javascript_dialogs.h

Issue 9271054: Send replies to sync IPCs from swapped out renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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;

Powered by Google App Engine
This is Rietveld 408576698