Enable right clicking on the applist doodle web contents and log the data.
[chromium-blink-merge.git] / content / shell / common / layout_test / layout_test_messages.h
blob9c813e08b2bbd164982fca7f2f09aabd74055a92
1 // Copyright 2014 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 file, no traditional include guard.
6 #include <string>
7 #include <vector>
9 #include "content/public/common/common_param_traits.h"
10 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_platform_file.h"
12 #include "url/gurl.h"
14 #define IPC_MESSAGE_START LayoutTestMsgStart
16 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString,
17 base::FilePath /* local path */,
18 std::string /* contents */)
19 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem,
20 std::vector<base::FilePath> /* absolute_filenames */,
21 std::string /* filesystem_id */)
22 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases)
23 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota,
24 int /* quota */)
25 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_GrantWebNotificationPermission,
26 GURL /* origin */,
27 bool /* permission_granted */)
28 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearWebNotificationPermissions)
29 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SimulateWebNotificationClick,
30 std::string /* title */)
31 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SetPushMessagingPermission,
32 GURL /* origin */,
33 bool /* allowed */)
34 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearPushMessagingPermissions)
35 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies,
36 bool /* accept */)
37 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies)