OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
11 #include "ipc/ipc_channel_handle.h" | 11 #include "ipc/ipc_channel_handle.h" |
12 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
| 13 #include "ui/gfx/geometry/rect.h" |
13 #include "ui/gfx/ipc/gfx_param_traits.h" | 14 #include "ui/gfx/ipc/gfx_param_traits.h" |
14 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
15 #include "ui/gfx/rect.h" | |
16 | 16 |
17 #undef IPC_MESSAGE_EXPORT | 17 #undef IPC_MESSAGE_EXPORT |
18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
19 | 19 |
20 #define IPC_MESSAGE_START PluginProcessMsgStart | 20 #define IPC_MESSAGE_START PluginProcessMsgStart |
21 | 21 |
22 //----------------------------------------------------------------------------- | 22 //----------------------------------------------------------------------------- |
23 // PluginProcess messages | 23 // PluginProcess messages |
24 // These are messages sent from the browser to the plugin process. | 24 // These are messages sent from the browser to the plugin process. |
25 // Tells the plugin process to create a new channel for communication with a | 25 // Tells the plugin process to create a new channel for communication with a |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // Notifies the browser that the plugin has hidden a window. | 77 // Notifies the browser that the plugin has hidden a window. |
78 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, | 78 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, |
79 uint32 /* window ID */, | 79 uint32 /* window ID */, |
80 gfx::Rect /* window rect */) | 80 gfx::Rect /* window rect */) |
81 | 81 |
82 // Notifies the browser that a plugin instance has requested a cursor | 82 // Notifies the browser that a plugin instance has requested a cursor |
83 // visibility change. | 83 // visibility change. |
84 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, | 84 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, |
85 bool /* cursor visibility */) | 85 bool /* cursor visibility */) |
86 #endif | 86 #endif |
OLD | NEW |