| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "content/common/content_param_traits.h" | 11 #include "content/common/content_param_traits.h" |
| 12 #include "content/public/common/common_param_traits.h" | 12 #include "content/public/common/common_param_traits.h" |
| 13 #include "ipc/ipc_channel_handle.h" | 13 #include "ipc/ipc_channel_handle.h" |
| 14 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
| 16 #include "ui/gfx/ipc/gfx_param_traits.h" | 16 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 17 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 17 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
| 18 | 19 |
| 19 #undef IPC_MESSAGE_EXPORT | 20 #undef IPC_MESSAGE_EXPORT |
| 20 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 21 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 21 | 22 |
| 22 #define IPC_MESSAGE_START PluginProcessMsgStart | 23 #define IPC_MESSAGE_START PluginProcessMsgStart |
| 23 | 24 |
| 24 //----------------------------------------------------------------------------- | 25 //----------------------------------------------------------------------------- |
| 25 // PluginProcess messages | 26 // PluginProcess messages |
| 26 // These are messages sent from the browser to the plugin process. | 27 // These are messages sent from the browser to the plugin process. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // Notifies the browser that the plugin has hidden a window. | 72 // Notifies the browser that the plugin has hidden a window. |
| 72 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, | 73 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, |
| 73 uint32_t /* window ID */, | 74 uint32_t /* window ID */, |
| 74 gfx::Rect /* window rect */) | 75 gfx::Rect /* window rect */) |
| 75 | 76 |
| 76 // Notifies the browser that a plugin instance has requested a cursor | 77 // Notifies the browser that a plugin instance has requested a cursor |
| 77 // visibility change. | 78 // visibility change. |
| 78 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, | 79 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, |
| 79 bool /* cursor visibility */) | 80 bool /* cursor visibility */) |
| 80 #endif | 81 #endif |
| OLD | NEW |