- add sources.
[platform/framework/web/crosswalk.git] / src / content / common / pepper_messages.h
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
3 // found in the LICENSE file.
4
5 // Multiply-included message file, no traditional include guard
6 #include "content/common/content_export.h"
7 #include "ipc/ipc_message_macros.h"
8 #include "ipc/ipc_platform_file.h"
9 #include "ppapi/c/private/ppb_flash.h"
10 #include "ppapi/proxy/ppapi_param_traits.h"
11 #include "url/gurl.h"
12
13 #undef IPC_MESSAGE_EXPORT
14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
15 #define IPC_MESSAGE_START PepperMsgStart
16
17 IPC_ENUM_TRAITS(PP_FlashLSORestrictions)
18
19 // Pepper (non-file-system) messages sent from the renderer to the browser.
20
21 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset,
22                             base::Time /* t */,
23                             double /* result */)
24
25 IPC_SYNC_MESSAGE_CONTROL2_1(PepperMsg_GetLocalDataRestrictions,
26                             GURL /* document_url */,
27                             GURL /* plugin_url */,
28                             PP_FlashLSORestrictions /* restrictions */)