Upstream version 6.34.113.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / common / xwalk_common_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 file, no traditional include guard.
6 #include "content/public/common/common_param_traits.h"
7 #include "ipc/ipc_channel_handle.h"
8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_platform_file.h"
10 #include "url/gurl.h"
11
12 // Singly-included section for enums and custom IPC traits.
13 #ifndef XWALK_RUNTIME_COMMON_XWALK_COMMON_MESSAGES_H_
14 #define XWALK_RUNTIME_COMMON_XWALK_COMMON_MESSAGES_H_
15
16 namespace IPC {
17
18 // TODO(upstream): - add enums and custom IPC traits here when needed.
19
20 }  // namespace IPC
21
22 #endif  // XWALK_RUNTIME_COMMON_XWALK_COMMON_MESSAGES_H_
23
24 #define IPC_MESSAGE_START ViewMsgStart
25
26 //-----------------------------------------------------------------------------
27 // RenderView messages
28 // These are messages sent from the browser to the renderer process.
29
30 IPC_MESSAGE_CONTROL3(ViewMsg_SetAccessWhiteList,  // NOLINT
31                      GURL /* source */,
32                      GURL /* dest */,
33                      bool /* allow_subdomains */)
34
35 IPC_MESSAGE_CONTROL0(ViewMsg_EnableWarpMode)  // NOLINT