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 header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 IPC_ENUM_TRAITS(BrowserPluginPermissionType) | 37 IPC_ENUM_TRAITS(BrowserPluginPermissionType) |
38 IPC_ENUM_TRAITS(WebKit::WebDragStatus) | 38 IPC_ENUM_TRAITS(WebKit::WebDragStatus) |
39 | 39 |
40 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_AutoSize_Params) | 40 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_AutoSize_Params) |
41 IPC_STRUCT_MEMBER(bool, enable) | 41 IPC_STRUCT_MEMBER(bool, enable) |
42 IPC_STRUCT_MEMBER(gfx::Size, max_size) | 42 IPC_STRUCT_MEMBER(gfx::Size, max_size) |
43 IPC_STRUCT_MEMBER(gfx::Size, min_size) | 43 IPC_STRUCT_MEMBER(gfx::Size, min_size) |
44 IPC_STRUCT_END() | 44 IPC_STRUCT_END() |
45 | 45 |
46 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) | 46 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) |
| 47 // Indicates whether the parameters have been populated or not. |
| 48 IPC_STRUCT_MEMBER(bool, size_changed) |
47 // The sequence number used to uniquely identify the damage buffer for the | 49 // The sequence number used to uniquely identify the damage buffer for the |
48 // current container size. | 50 // current container size. |
49 IPC_STRUCT_MEMBER(uint32, damage_buffer_sequence_id) | 51 IPC_STRUCT_MEMBER(uint32, damage_buffer_sequence_id) |
50 // The handle to use to map the damage buffer in the browser process. | 52 // The handle to use to map the damage buffer in the browser process. |
51 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, damage_buffer_handle) | 53 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, damage_buffer_handle) |
52 // The size of the damage buffer. | 54 // The size of the damage buffer. |
53 IPC_STRUCT_MEMBER(size_t, damage_buffer_size) | 55 IPC_STRUCT_MEMBER(size_t, damage_buffer_size) |
54 // The new rect of the guest view area. | 56 // The new rect of the guest view area. |
55 IPC_STRUCT_MEMBER(gfx::Rect, view_rect) | 57 IPC_STRUCT_MEMBER(gfx::Rect, view_rect) |
56 // Indicates the scale factor of the embedder WebView. | 58 // Indicates the scale factor of the embedder WebView. |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 int /* instance_id */, | 379 int /* instance_id */, |
378 BrowserPluginPermissionType /* permission_type */, | 380 BrowserPluginPermissionType /* permission_type */, |
379 int /* request_id */, | 381 int /* request_id */, |
380 base::DictionaryValue /* request_info */) | 382 base::DictionaryValue /* request_info */) |
381 | 383 |
382 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 384 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
383 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, | 385 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, |
384 int /* instance_id */, | 386 int /* instance_id */, |
385 bool /* enable */) | 387 bool /* enable */) |
386 | 388 |
OLD | NEW |