OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 // IPC messages for surface view manager. |
| 6 // Multiply-included message file, hence no include guard. |
| 7 |
| 8 #include "content/common/content_export.h" |
| 9 #include "ipc/ipc_message_macros.h" |
| 10 #include "ui/gfx/geometry/size.h" |
| 11 |
| 12 #undef IPC_MESSAGE_EXPORT |
| 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 14 #define IPC_MESSAGE_START SurfaceViewManagerMsgStart |
| 15 |
| 16 // Message sent from the renderer to the browser |
| 17 |
| 18 IPC_MESSAGE_ROUTED1(SurfaceViewManagerHostMsg_CreateFullscreenSurface, |
| 19 gfx::Size /* video_natural_size */) |
| 20 IPC_MESSAGE_ROUTED1(SurfaceViewManagerHostMsg_NaturalSizeChanged, |
| 21 gfx::Size /* size */) |
| 22 |
| 23 // Message sent from the browser to the renderer |
| 24 |
| 25 IPC_MESSAGE_ROUTED1(SurfaceViewManagerMsg_FullscreenSurfaceCreated, |
| 26 int /* surface_id */) |
OLD | NEW |