| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 bool /* allowed */) | 282 bool /* allowed */) |
| 283 | 283 |
| 284 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. | 284 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. |
| 285 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, | 285 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, |
| 286 bool /* allowed */) | 286 bool /* allowed */) |
| 287 | 287 |
| 288 // Sent when the profile changes the kSafeBrowsingEnabled preference. | 288 // Sent when the profile changes the kSafeBrowsingEnabled preference. |
| 289 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, | 289 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, |
| 290 bool /* enable_phishing_detection */) | 290 bool /* enable_phishing_detection */) |
| 291 | 291 |
| 292 // This message asks frame sniffer start. |
| 293 IPC_MESSAGE_ROUTED1(ChromeViewMsg_StartFrameSniffer, |
| 294 string16 /* frame-name */) |
| 295 |
| 292 // JavaScript related messages ----------------------------------------------- | 296 // JavaScript related messages ----------------------------------------------- |
| 293 | 297 |
| 294 // Notify the JavaScript engine in the render to change its parameters | 298 // Notify the JavaScript engine in the render to change its parameters |
| 295 // while performing stress testing. | 299 // while performing stress testing. |
| 296 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl, | 300 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl, |
| 297 int /* cmd */, | 301 int /* cmd */, |
| 298 int /* param */) | 302 int /* param */) |
| 299 | 303 |
| 300 //----------------------------------------------------------------------------- | 304 //----------------------------------------------------------------------------- |
| 301 // TabContents messages | 305 // TabContents messages |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 std::vector<std::string> /* suggestions */, | 529 std::vector<std::string> /* suggestions */, |
| 526 InstantCompleteBehavior) | 530 InstantCompleteBehavior) |
| 527 | 531 |
| 528 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, | 532 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, |
| 529 int32 /* page_id */, | 533 int32 /* page_id */, |
| 530 bool /* result */) | 534 bool /* result */) |
| 531 | 535 |
| 532 // The currently displayed PDF has an unsupported feature. | 536 // The currently displayed PDF has an unsupported feature. |
| 533 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) | 537 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) |
| 534 | 538 |
| 539 // This message indicates the error appeared in the frame. |
| 540 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, |
| 541 int /* error */) |
| 542 |
| 535 // The following messages are used to set and get cookies for ChromeFrame | 543 // The following messages are used to set and get cookies for ChromeFrame |
| 536 // processes. | 544 // processes. |
| 537 // Used to set a cookie. The cookie is set asynchronously, but will be | 545 // Used to set a cookie. The cookie is set asynchronously, but will be |
| 538 // available to a subsequent ChromeViewHostMsg_GetCookies request. | 546 // available to a subsequent ChromeViewHostMsg_GetCookies request. |
| 539 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetCookie, | 547 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetCookie, |
| 540 GURL /* url */, | 548 GURL /* url */, |
| 541 GURL /* first_party_for_cookies */, | 549 GURL /* first_party_for_cookies */, |
| 542 std::string /* cookie */) | 550 std::string /* cookie */) |
| 543 | 551 |
| 544 // Used to get cookies for the given URL. This may block waiting for a | 552 // Used to get cookies for the given URL. This may block waiting for a |
| 545 // previous SetCookie message to be processed. | 553 // previous SetCookie message to be processed. |
| 546 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 554 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 547 GURL /* url */, | 555 GURL /* url */, |
| 548 GURL /* first_party_for_cookies */, | 556 GURL /* first_party_for_cookies */, |
| 549 std::string /* cookies */) | 557 std::string /* cookies */) |
| 550 | |
| OLD | NEW |