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 #include "ui/gfx/native_widget_types.h" | |
14 | |
15 #define IPC_MESSAGE_START ChromePluginMsgStart | |
16 | |
17 //----------------------------------------------------------------------------- | |
18 // ChromePluginHost messages | |
19 // These are messages sent from the plugin process to the browser process. | |
20 | |
21 // Used to retrieve the plugin finder URL. | |
22 IPC_SYNC_MESSAGE_CONTROL0_1(ChromePluginProcessHostMsg_GetPluginFinderUrl, | |
23 std::string /* plugin finder URL */) | |
24 | |
25 // Used to display an infobar containing missing plugin information in the | |
26 // chrome browser process. | |
27 IPC_MESSAGE_CONTROL4(ChromePluginProcessHostMsg_MissingPluginStatus, | |
28 int /* status */, | |
29 int /* render_process_id */, | |
30 int /* render_view_id */, | |
31 gfx::NativeWindow /* The plugin window handle */) | |
32 | |
33 #if defined(OS_WIN) | |
34 // Used to initiate a download on the plugin installer file from the URL | |
35 // passed in. | |
36 IPC_MESSAGE_CONTROL3(ChromePluginProcessHostMsg_DownloadUrl, | |
37 std::string /* URL */, | |
38 gfx::NativeWindow /* caller window */, | |
39 int /* render_process_id */) | |
40 | |
41 #endif // OS_WIN | |
OLD | NEW |