OLD | NEW |
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 "base/strings/string16.h" | 6 #include "base/strings/string16.h" |
7 #include "components/content_settings/core/common/content_settings_types.h" | 7 #include "components/content_settings/core/common/content_settings_types.h" |
8 #include "content/public/common/common_param_traits.h" | 8 #include "content/public/common/common_param_traits.h" |
9 #include "content/public/common/common_param_traits_macros.h" | 9 #include "content/public/common/common_param_traits_macros.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 // Sent by the renderer process to check whether access to DOM Storage is | 67 // Sent by the renderer process to check whether access to DOM Storage is |
68 // granted by content settings. | 68 // granted by content settings. |
69 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, | 69 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, |
70 int /* render_frame_id */, | 70 int /* render_frame_id */, |
71 GURL /* origin_url */, | 71 GURL /* origin_url */, |
72 GURL /* top origin url */, | 72 GURL /* top origin url */, |
73 bool /* if true local storage, otherwise session */, | 73 bool /* if true local storage, otherwise session */, |
74 bool /* allowed */) | 74 bool /* allowed */) |
75 | 75 |
| 76 // Sent by the renderer process to check whether access to the keygen element |
| 77 // is granted by content settings. |
| 78 IPC_SYNC_MESSAGE_CONTROL2_1(ChromeViewHostMsg_AllowKeygen, |
| 79 int /* render_frame_id */, |
| 80 GURL /* origin_url */, |
| 81 bool /* allowed */) |
| 82 |
76 // Sent by the renderer process to check whether access to FileSystem is | 83 // Sent by the renderer process to check whether access to FileSystem is |
77 // granted by content settings. | 84 // granted by content settings. |
78 IPC_MESSAGE_CONTROL4(ChromeViewHostMsg_RequestFileSystemAccessAsync, | 85 IPC_MESSAGE_CONTROL4(ChromeViewHostMsg_RequestFileSystemAccessAsync, |
79 int /* render_frame_id */, | 86 int /* render_frame_id */, |
80 int /* request_id */, | 87 int /* request_id */, |
81 GURL /* origin_url */, | 88 GURL /* origin_url */, |
82 GURL /* top origin url */) | 89 GURL /* top origin url */) |
83 | 90 |
84 // Sent by the renderer process to check whether access to Indexed DBis | 91 // Sent by the renderer process to check whether access to Indexed DBis |
85 // granted by content settings. | 92 // granted by content settings. |
86 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, | 93 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, |
87 int /* render_frame_id */, | 94 int /* render_frame_id */, |
88 GURL /* origin_url */, | 95 GURL /* origin_url */, |
89 GURL /* top origin url */, | 96 GURL /* top origin url */, |
90 base::string16 /* database name */, | 97 base::string16 /* database name */, |
91 bool /* allowed */) | 98 bool /* allowed */) |
92 | 99 |
93 // Sent when the renderer was prevented from displaying insecure content in | 100 // Sent when the renderer was prevented from displaying insecure content in |
94 // a secure page by a security policy. The page may appear incomplete. | 101 // a secure page by a security policy. The page may appear incomplete. |
95 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) | 102 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) |
OLD | NEW |