| 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 "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 #include "url/ipc/url_param_traits.h" | 10 #include "url/ipc/url_param_traits.h" |
| 11 | 11 |
| 12 #define IPC_MESSAGE_START ContentSettingsMsgStart | 12 #define IPC_MESSAGE_START ContentSettingsMsgStart |
| 13 | 13 |
| 14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType, | 14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType, |
| 15 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1) | 15 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1) |
| 16 | 16 |
| 17 //----------------------------------------------------------------------------- | 17 //----------------------------------------------------------------------------- |
| 18 // These are messages sent from the browser to the renderer process. | 18 // These are messages sent from the browser to the renderer process. |
| 19 | 19 |
| 20 // Sent in response to FrameHostMsg_DidBlockDisplayingInsecureContent. | |
| 21 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, | |
| 22 bool /* allowed */) | |
| 23 | |
| 24 // Sent in response to FrameHostMsg_DidBlockRunningInsecureContent. | 20 // Sent in response to FrameHostMsg_DidBlockRunningInsecureContent. |
| 25 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, | 21 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, |
| 26 bool /* allowed */) | 22 bool /* allowed */) |
| 27 | 23 |
| 28 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) | 24 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) |
| 29 | 25 |
| 30 // Tells the renderer whether or not a file system access has been allowed. | 26 // Tells the renderer whether or not a file system access has been allowed. |
| 31 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessAsyncResponse, | 27 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessAsyncResponse, |
| 32 int /* request_id */, | 28 int /* request_id */, |
| 33 bool /* allowed */) | 29 bool /* allowed */) |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, | 83 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, |
| 88 int /* render_frame_id */, | 84 int /* render_frame_id */, |
| 89 GURL /* origin_url */, | 85 GURL /* origin_url */, |
| 90 GURL /* top origin url */, | 86 GURL /* top origin url */, |
| 91 base::string16 /* database name */, | 87 base::string16 /* database name */, |
| 92 bool /* allowed */) | 88 bool /* allowed */) |
| 93 | 89 |
| 94 // Sent when the renderer was prevented from displaying insecure content in | 90 // Sent when the renderer was prevented from displaying insecure content in |
| 95 // a secure page by a security policy. The page may appear incomplete. | 91 // a secure page by a security policy. The page may appear incomplete. |
| 96 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) | 92 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) |
| OLD | NEW |