Print Preview: Refactoring print/cancel button and print summary.
[chromium-blink-merge.git] / content / common / pepper_messages.h
blobb89705eaf11fb919147f6753253e92f8fe4405b0
1 // Copyright (c) 2011 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.
5 // Multiply-included message file, no traditional include guard
6 #include "ipc/ipc_message_macros.h"
7 #include "ipc/ipc_platform_file.h"
8 #include "ppapi/c/private/ppb_flash_net_connector.h"
9 #include "ppapi/proxy/ppapi_param_traits.h"
11 #define IPC_MESSAGE_START PepperMsgStart
13 // Pepper (non-file-system) messages sent from the browser to the renderer.
15 // The response to PepperMsg_ConnectTcp(Address).
16 IPC_MESSAGE_ROUTED4(PepperMsg_ConnectTcpACK,
17 int /* request_id */,
18 IPC::PlatformFileForTransit /* socket */,
19 PP_Flash_NetAddress /* local_addr */,
20 PP_Flash_NetAddress /* remote_addr */)
22 // Pepper (non-file-system) messages sent from the renderer to the browser.
24 IPC_MESSAGE_CONTROL4(PepperMsg_ConnectTcp,
25 int /* routing_id */,
26 int /* request_id */,
27 std::string /* host */,
28 uint16 /* port */)
30 IPC_MESSAGE_CONTROL3(PepperMsg_ConnectTcpAddress,
31 int /* routing_id */,
32 int /* request_id */,
33 PP_Flash_NetAddress /* addr */)
35 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset,
36 base::Time /* t */,
37 double /* result */)