Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Side by Side Diff: content/shell/common/layout_test/layout_test_messages.h

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "content/public/common/permission_status.mojom.h"
10 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
11 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat us.mojom.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 #include "url/ipc/url_param_traits.h" 13 #include "url/ipc/url_param_traits.h"
14 14
15 #define IPC_MESSAGE_START LayoutTestMsgStart 15 #define IPC_MESSAGE_START LayoutTestMsgStart
16 16
17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::mojom::PermissionStatus, 17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::mojom::PermissionStatus,
18 content::mojom::PermissionStatus::GRANTED, 18 blink::mojom::PermissionStatus::GRANTED,
19 content::mojom::PermissionStatus::ASK) 19 blink::mojom::PermissionStatus::ASK)
20 20
21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, 21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString,
22 base::FilePath /* local path */, 22 base::FilePath /* local path */,
23 std::string /* contents */) 23 std::string /* contents */)
24 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem, 24 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem,
25 std::vector<base::FilePath> /* absolute_filenames */, 25 std::vector<base::FilePath> /* absolute_filenames */,
26 std::string /* filesystem_id */) 26 std::string /* filesystem_id */)
27 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases) 27 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases)
28 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota, 28 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota,
29 int /* quota */) 29 int /* quota */)
30 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClick, 30 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClick,
31 std::string /* title */, 31 std::string /* title */,
32 int /* action_index */) 32 int /* action_index */)
33 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClose, 33 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClose,
34 std::string /* title */, 34 std::string /* title */,
35 bool /* by_user */) 35 bool /* by_user */)
36 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies, 36 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies,
37 bool /* accept */) 37 bool /* accept */)
38 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies) 38 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies)
39 IPC_MESSAGE_ROUTED4(LayoutTestHostMsg_SetPermission, 39 IPC_MESSAGE_ROUTED4(LayoutTestHostMsg_SetPermission,
40 std::string /* name */, 40 std::string /* name */,
41 content::mojom::PermissionStatus /* status */, 41 blink::mojom::PermissionStatus /* status */,
42 GURL /* origin */, 42 GURL /* origin */,
43 GURL /* embedding_origin */) 43 GURL /* embedding_origin */)
44 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ResetPermissions) 44 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ResetPermissions)
OLDNEW
« no previous file with comments | « content/shell/browser/shell_permission_manager.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698