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

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

Issue 1942353002: (reland) Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 "components/permissions/permission_status.mojom.h"
9 #include "content/public/common/common_param_traits_macros.h" 10 #include "content/public/common/common_param_traits_macros.h"
10 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_platform_file.h" 12 #include "ipc/ipc_platform_file.h"
12 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat us.mojom.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 #include "url/ipc/url_param_traits.h" 14 #include "url/ipc/url_param_traits.h"
15 15
16 #define IPC_MESSAGE_START LayoutTestMsgStart 16 #define IPC_MESSAGE_START LayoutTestMsgStart
17 17
18 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, 18 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString,
19 base::FilePath /* local path */, 19 base::FilePath /* local path */,
20 std::string /* contents */) 20 std::string /* contents */)
21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem, 21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem,
22 std::vector<base::FilePath> /* absolute_filenames */, 22 std::vector<base::FilePath> /* absolute_filenames */,
23 std::string /* filesystem_id */) 23 std::string /* filesystem_id */)
24 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases) 24 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases)
25 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota, 25 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota,
26 int /* quota */) 26 int /* quota */)
27 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClick, 27 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClick,
28 std::string /* title */, 28 std::string /* title */,
29 int /* action_index */) 29 int /* action_index */)
30 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClose, 30 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClose,
31 std::string /* title */, 31 std::string /* title */,
32 bool /* by_user */) 32 bool /* by_user */)
33 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies, 33 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies,
34 bool /* accept */) 34 bool /* accept */)
35 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies) 35 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies)
36 IPC_MESSAGE_ROUTED4(LayoutTestHostMsg_SetPermission, 36 IPC_MESSAGE_ROUTED4(LayoutTestHostMsg_SetPermission,
37 std::string /* name */, 37 std::string /* name */,
38 blink::mojom::PermissionStatus /* status */, 38 permissions::mojom::PermissionStatus /* status */,
39 GURL /* origin */, 39 GURL /* origin */,
40 GURL /* embedding_origin */) 40 GURL /* embedding_origin */)
41 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ResetPermissions) 41 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ResetPermissions)
42 42
43 // Notifies the browser that one of renderers has changed layout test runtime 43 // Notifies the browser that one of renderers has changed layout test runtime
44 // flags (i.e. has set dump_as_text). 44 // flags (i.e. has set dump_as_text).
45 IPC_MESSAGE_CONTROL1( 45 IPC_MESSAGE_CONTROL1(
46 LayoutTestHostMsg_LayoutTestRuntimeFlagsChanged, 46 LayoutTestHostMsg_LayoutTestRuntimeFlagsChanged,
47 base::DictionaryValue /* changed_layout_test_runtime_flags */) 47 base::DictionaryValue /* changed_layout_test_runtime_flags */)
48 48
49 // Used send flag changes to renderers - either when 49 // Used send flag changes to renderers - either when
50 // 1) broadcasting change happening in one renderer to all other renderers, or 50 // 1) broadcasting change happening in one renderer to all other renderers, or
51 // 2) sending accumulated changes to a single new renderer. 51 // 2) sending accumulated changes to a single new renderer.
52 IPC_MESSAGE_CONTROL1( 52 IPC_MESSAGE_CONTROL1(
53 LayoutTestMsg_ReplicateLayoutTestRuntimeFlagsChanges, 53 LayoutTestMsg_ReplicateLayoutTestRuntimeFlagsChanges,
54 base::DictionaryValue /* changed_layout_test_runtime_flags */) 54 base::DictionaryValue /* changed_layout_test_runtime_flags */)
55 55
56 // Sent by secondary test window to notify the test has finished. 56 // Sent by secondary test window to notify the test has finished.
57 IPC_MESSAGE_CONTROL0(LayoutTestHostMsg_TestFinishedInSecondaryRenderer) 57 IPC_MESSAGE_CONTROL0(LayoutTestHostMsg_TestFinishedInSecondaryRenderer)
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