Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 361 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. | 361 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. |
| 362 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, | 362 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, |
| 363 bool /* allowed */) | 363 bool /* allowed */) |
| 364 | 364 |
| 365 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. | 365 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. |
| 366 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, | 366 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, |
| 367 bool /* allowed */) | 367 bool /* allowed */) |
| 368 | 368 |
| 369 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) | 369 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) |
| 370 | 370 |
| 371 // Tells the renderer whether or not a file system access has been allowed. | |
| 372 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccess_ACK, | |
|
kinuko
2014/03/05 08:35:44
nit: ACK? Since this looks more than just ack mayb
Fady Samuel
2014/03/06 18:38:25
Done.
| |
| 373 int /* request_id */, | |
| 374 bool /* allowed */) | |
| 375 | |
| 371 // Sent when the profile changes the kSafeBrowsingEnabled preference. | 376 // Sent when the profile changes the kSafeBrowsingEnabled preference. |
| 372 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, | 377 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, |
| 373 bool /* enable_phishing_detection */) | 378 bool /* enable_phishing_detection */) |
| 374 | 379 |
| 375 // Asks the renderer for a thumbnail of the image selected by the most | 380 // Asks the renderer for a thumbnail of the image selected by the most |
| 376 // recently opened context menu, if there is one. If the image's area | 381 // recently opened context menu, if there is one. If the image's area |
| 377 // is greater than thumbnail_min_area it will be downscaled to | 382 // is greater than thumbnail_min_area it will be downscaled to |
| 378 // be within thumbnail_max_size. The possibly downsampled image will be | 383 // be within thumbnail_max_size. The possibly downsampled image will be |
| 379 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. | 384 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. |
| 380 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, | 385 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 484 bool /* allowed */) | 489 bool /* allowed */) |
| 485 | 490 |
| 486 // Sent by the renderer process to check whether access to FileSystem is | 491 // Sent by the renderer process to check whether access to FileSystem is |
| 487 // granted by content settings. | 492 // granted by content settings. |
| 488 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_AllowFileSystem, | 493 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_AllowFileSystem, |
| 489 int /* render_frame_id */, | 494 int /* render_frame_id */, |
| 490 GURL /* origin_url */, | 495 GURL /* origin_url */, |
| 491 GURL /* top origin url */, | 496 GURL /* top origin url */, |
| 492 bool /* allowed */) | 497 bool /* allowed */) |
| 493 | 498 |
| 499 // Sent by the renderer process to check whether access to FileSystem is | |
| 500 // granted by content settings. | |
| 501 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_RequestFileSystemAccess, | |
| 502 int /* request_id */, | |
| 503 GURL /* origin_url */, | |
| 504 GURL /* top origin url */) | |
| 505 | |
| 494 // Sent by the renderer process to check whether access to Indexed DBis | 506 // Sent by the renderer process to check whether access to Indexed DBis |
| 495 // granted by content settings. | 507 // granted by content settings. |
| 496 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, | 508 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, |
| 497 int /* render_frame_id */, | 509 int /* render_frame_id */, |
| 498 GURL /* origin_url */, | 510 GURL /* origin_url */, |
| 499 GURL /* top origin url */, | 511 GURL /* top origin url */, |
| 500 base::string16 /* database name */, | 512 base::string16 /* database name */, |
| 501 bool /* allowed */) | 513 bool /* allowed */) |
| 502 | 514 |
| 503 // Return information about a plugin for the given URL and MIME type. | 515 // Return information about a plugin for the given URL and MIME type. |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 764 std::vector<GURL> /* search_urls */, | 776 std::vector<GURL> /* search_urls */, |
| 765 GURL /* new_tab_page_url */) | 777 GURL /* new_tab_page_url */) |
| 766 | 778 |
| 767 // Tells listeners that a detailed message was reported to the console by | 779 // Tells listeners that a detailed message was reported to the console by |
| 768 // WebKit. | 780 // WebKit. |
| 769 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 781 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| 770 base::string16 /* message */, | 782 base::string16 /* message */, |
| 771 base::string16 /* source */, | 783 base::string16 /* source */, |
| 772 extensions::StackTrace /* stack trace */, | 784 extensions::StackTrace /* stack trace */, |
| 773 int32 /* severity level */) | 785 int32 /* severity level */) |
| OLD | NEW |