summaryrefslogtreecommitdiff
path: root/chromium/content/common/pepper_messages.h
blob: caeb7a55a441e4e78fb0e30dc6a4eeac85abaee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Multiply-included message file, no traditional include guard
#include "content/common/content_export.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
#include "ppapi/c/private/ppb_flash.h"
#include "ppapi/proxy/ppapi_param_traits.h"
#include "url/gurl.h"

#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START PepperMsgStart

IPC_ENUM_TRAITS(PP_FlashLSORestrictions)

// Pepper (non-file-system) messages sent from the renderer to the browser.

IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset,
                            base::Time /* t */,
                            double /* result */)

IPC_SYNC_MESSAGE_CONTROL2_1(PepperMsg_GetLocalDataRestrictions,
                            GURL /* document_url */,
                            GURL /* plugin_url */,
                            PP_FlashLSORestrictions /* restrictions */)