OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <map> | 6 #include <map> |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 bool /* is_incognito_processs */) | 269 bool /* is_incognito_processs */) |
270 | 270 |
271 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. | 271 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. |
272 IPC_MESSAGE_ROUTED1(ViewMsg_SetAllowDisplayingInsecureContent, | 272 IPC_MESSAGE_ROUTED1(ViewMsg_SetAllowDisplayingInsecureContent, |
273 bool /* allowed */) | 273 bool /* allowed */) |
274 | 274 |
275 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. | 275 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. |
276 IPC_MESSAGE_ROUTED1(ViewMsg_SetAllowRunningInsecureContent, | 276 IPC_MESSAGE_ROUTED1(ViewMsg_SetAllowRunningInsecureContent, |
277 bool /* allowed */) | 277 bool /* allowed */) |
278 | 278 |
| 279 // Sent when the profile changes the kSafeBrowsingEnabled preference. |
| 280 IPC_MESSAGE_ROUTED1(ViewMsg_SetClientSidePhishingDetection, |
| 281 bool /* enable_phishing_detection */) |
| 282 |
279 // Instructs the renderer to save the current page to MHTML. | 283 // Instructs the renderer to save the current page to MHTML. |
280 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, | 284 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, |
281 int /* job_id */, | 285 int /* job_id */, |
282 IPC::PlatformFileForTransit /* file handle */) | 286 IPC::PlatformFileForTransit /* file handle */) |
283 | 287 |
284 //----------------------------------------------------------------------------- | 288 //----------------------------------------------------------------------------- |
285 // TabContents messages | 289 // TabContents messages |
286 // These are messages sent from the renderer to the browser process. | 290 // These are messages sent from the renderer to the browser process. |
287 | 291 |
288 // Provides the contents for the given page that was loaded recently. | 292 // Provides the contents for the given page that was loaded recently. |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 int32 /* page_id */, | 529 int32 /* page_id */, |
526 bool /* result */) | 530 bool /* result */) |
527 | 531 |
528 // JavaScript related messages ----------------------------------------------- | 532 // JavaScript related messages ----------------------------------------------- |
529 | 533 |
530 // Notify the JavaScript engine in the render to change its parameters | 534 // Notify the JavaScript engine in the render to change its parameters |
531 // while performing stress testing. | 535 // while performing stress testing. |
532 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 536 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
533 int /* cmd */, | 537 int /* cmd */, |
534 int /* param */) | 538 int /* param */) |
OLD | NEW |