Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Multiply-included file, no traditional include guard. | |
| 6 | |
| 7 #include <string> | |
| 8 | |
| 9 #include "base/basictypes.h" | |
| 10 #include "build/build_config.h" | |
| 11 | |
| 12 #include "ipc/ipc_message_macros.h" | |
| 13 | |
| 14 #define IPC_MESSAGE_START ChromePluginMsgStart | |
| 15 | |
| 16 //----------------------------------------------------------------------------- | |
| 17 // ChromePluginHost messages | |
| 18 // These are messages sent from the plugin process to the renderer process. | |
| 19 | |
| 20 // Used to retrieve the plugin finder URL. | |
| 21 IPC_SYNC_MESSAGE_CONTROL0_1(ChromePluginProcessHostMsg_GetPluginFinderUrl, | |
| 22 std::string /* plugin finder URL */) | |
| 23 | |
| 24 // Used to display an infobar containing missing plugin information in the | |
| 25 // chrome browser process. | |
| 26 IPC_MESSAGE_CONTROL4(ChromePluginProcessHostMsg_MissingPluginStatus, | |
| 27 int /* status */, | |
| 28 int /* render_process_id */, | |
| 29 int /* render_view_id */, | |
| 30 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.
| |
| 31 | |
| 32 #if defined(OS_WIN) | |
| 33 // Used to initiate a download on the plugin installer file from the URL | |
| 34 // passed in. | |
| 35 IPC_MESSAGE_CONTROL2(ChromePluginProcessHostMsg_DownloadUrl, | |
| 36 std::string /* URL */, | |
| 37 HWND /* caller window */) | |
| 38 | |
| 39 #endif // OS_WIN | |
| OLD | NEW |