Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // IPC messages for extensions GuestViews. | 5 // IPC messages for extensions GuestViews. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 11 #include "ui/gfx/geometry/size.h" | 11 #include "ui/gfx/geometry/size.h" |
| 12 #include "ui/gfx/ipc/gfx_param_traits.h" | 12 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 13 #include "ui/gfx/ipc/gfx_skia_param_traits.h" | |
|
Devlin
2016/03/28 21:01:51
Is skia needed here?
Mark Dittmer
2016/03/29 17:41:24
Done.
| |
| 13 | 14 |
| 14 #define IPC_MESSAGE_START ExtensionsGuestViewMsgStart | 15 #define IPC_MESSAGE_START ExtensionsGuestViewMsgStart |
| 15 // Messages sent from the browser to the renderer. | 16 // Messages sent from the browser to the renderer. |
| 16 | 17 |
| 17 // The ACK for GuestViewHostMsg_CreateMimeHandlerViewGuest. | 18 // The ACK for GuestViewHostMsg_CreateMimeHandlerViewGuest. |
| 18 IPC_MESSAGE_CONTROL1(ExtensionsGuestViewMsg_CreateMimeHandlerViewGuestACK, | 19 IPC_MESSAGE_CONTROL1(ExtensionsGuestViewMsg_CreateMimeHandlerViewGuestACK, |
| 19 int /* element_instance_id */) | 20 int /* element_instance_id */) |
| 20 | 21 |
| 21 // Once a MimeHandlerView guest's JavaScript onload function has been called, | 22 // Once a MimeHandlerView guest's JavaScript onload function has been called, |
| 22 // this IPC is sent to the container to notify it. | 23 // this IPC is sent to the container to notify it. |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 38 int /* render_frame_id */, | 39 int /* render_frame_id */, |
| 39 std::string /* view_id */, | 40 std::string /* view_id */, |
| 40 int /* element_instance_id */, | 41 int /* element_instance_id */, |
| 41 gfx::Size /* element_size */) | 42 gfx::Size /* element_size */) |
| 42 | 43 |
| 43 // A renderer sends this message when it wants to resize a guest. | 44 // A renderer sends this message when it wants to resize a guest. |
| 44 IPC_MESSAGE_CONTROL3(ExtensionsGuestViewHostMsg_ResizeGuest, | 45 IPC_MESSAGE_CONTROL3(ExtensionsGuestViewHostMsg_ResizeGuest, |
| 45 int /* routing_id */, | 46 int /* routing_id */, |
| 46 int /* element_instance_id*/, | 47 int /* element_instance_id*/, |
| 47 gfx::Size /* new_size */) | 48 gfx::Size /* new_size */) |
| OLD | NEW |