Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / common / pepper_messages.h
blobcaeb7a55a441e4e78fb0e30dc6a4eeac85abaee4
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.
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"
13 #undef IPC_MESSAGE_EXPORT
14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
15 #define IPC_MESSAGE_START PepperMsgStart
17 IPC_ENUM_TRAITS(PP_FlashLSORestrictions)
19 // Pepper (non-file-system) messages sent from the renderer to the browser.
21 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset,
22 base::Time /* t */,
23 double /* result */)
25 IPC_SYNC_MESSAGE_CONTROL2_1(PepperMsg_GetLocalDataRestrictions,
26 GURL /* document_url */,
27 GURL /* plugin_url */,
28 PP_FlashLSORestrictions /* restrictions */)