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

Unified Diff: chrome/common/chrome_plugin_messages.h

Issue 7812020: Moved the following IPC messages used by the chrome NPAPI plugin installer out of content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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: chrome/common/chrome_plugin_messages.h
===================================================================
--- chrome/common/chrome_plugin_messages.h (revision 0)
+++ chrome/common/chrome_plugin_messages.h (revision 0)
@@ -0,0 +1,39 @@
+// Copyright (c) 2011 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.
+
+// Multiply-included file, no traditional include guard.
+
+#include <string>
+
+#include "base/basictypes.h"
+#include "build/build_config.h"
+
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START ChromePluginMsgStart
+
+//-----------------------------------------------------------------------------
+// ChromePluginHost messages
+// These are messages sent from the plugin process to the renderer process.
+
+// Used to retrieve the plugin finder URL.
+IPC_SYNC_MESSAGE_CONTROL0_1(ChromePluginProcessHostMsg_GetPluginFinderUrl,
+ std::string /* plugin finder URL */)
+
+// Used to display an infobar containing missing plugin information in the
+// chrome browser process.
+IPC_MESSAGE_CONTROL4(ChromePluginProcessHostMsg_MissingPluginStatus,
+ int /* status */,
+ int /* render_process_id */,
+ int /* render_view_id */,
+ int /* The plugin window handle */)
jam 2011/08/31 17:34:42 why send a window handle as an int instead of a gf
ananta 2011/08/31 20:18:14 Done.
+
+#if defined(OS_WIN)
+// Used to initiate a download on the plugin installer file from the URL
+// passed in.
+IPC_MESSAGE_CONTROL2(ChromePluginProcessHostMsg_DownloadUrl,
+ std::string /* URL */,
+ HWND /* caller window */)
+
+#endif // OS_WIN

Powered by Google App Engine
This is Rietveld 408576698