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 <stdint.h> | 6 #include <stdint.h> |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. | 309 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. |
310 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, | 310 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, |
311 bool /* allowed */) | 311 bool /* allowed */) |
312 | 312 |
313 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. | 313 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. |
314 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, | 314 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, |
315 bool /* allowed */) | 315 bool /* allowed */) |
316 | 316 |
317 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) | 317 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) |
318 | 318 |
| 319 // Tells the renderer whether or not a file system access has been allowed. |
| 320 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessAsyncResponse, |
| 321 int /* request_id */, |
| 322 bool /* allowed */) |
| 323 |
319 // Sent when the profile changes the kSafeBrowsingEnabled preference. | 324 // Sent when the profile changes the kSafeBrowsingEnabled preference. |
320 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, | 325 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, |
321 bool /* enable_phishing_detection */) | 326 bool /* enable_phishing_detection */) |
322 | 327 |
323 // Asks the renderer for a thumbnail of the image selected by the most | 328 // Asks the renderer for a thumbnail of the image selected by the most |
324 // recently opened context menu, if there is one. If the image's area | 329 // recently opened context menu, if there is one. If the image's area |
325 // is greater than thumbnail_min_area it will be downscaled to | 330 // is greater than thumbnail_min_area it will be downscaled to |
326 // be within thumbnail_max_size. The possibly downsampled image will be | 331 // be within thumbnail_max_size. The possibly downsampled image will be |
327 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. | 332 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. |
328 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, | 333 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 // granted by content settings. | 425 // granted by content settings. |
421 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, | 426 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, |
422 int /* render_frame_id */, | 427 int /* render_frame_id */, |
423 GURL /* origin_url */, | 428 GURL /* origin_url */, |
424 GURL /* top origin url */, | 429 GURL /* top origin url */, |
425 bool /* if true local storage, otherwise session */, | 430 bool /* if true local storage, otherwise session */, |
426 bool /* allowed */) | 431 bool /* allowed */) |
427 | 432 |
428 // Sent by the renderer process to check whether access to FileSystem is | 433 // Sent by the renderer process to check whether access to FileSystem is |
429 // granted by content settings. | 434 // granted by content settings. |
430 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_AllowFileSystem, | 435 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_RequestFileSystemAccessSync, |
431 int /* render_frame_id */, | 436 int /* render_frame_id */, |
432 GURL /* origin_url */, | 437 GURL /* origin_url */, |
433 GURL /* top origin url */, | 438 GURL /* top origin url */, |
434 bool /* allowed */) | 439 bool /* allowed */) |
435 | 440 |
| 441 // Sent by the renderer process to check whether access to FileSystem is |
| 442 // granted by content settings. |
| 443 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_RequestFileSystemAccessAsync, |
| 444 int /* request_id */, |
| 445 GURL /* origin_url */, |
| 446 GURL /* top origin url */) |
| 447 |
436 // Sent by the renderer process to check whether access to Indexed DBis | 448 // Sent by the renderer process to check whether access to Indexed DBis |
437 // granted by content settings. | 449 // granted by content settings. |
438 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, | 450 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, |
439 int /* render_frame_id */, | 451 int /* render_frame_id */, |
440 GURL /* origin_url */, | 452 GURL /* origin_url */, |
441 GURL /* top origin url */, | 453 GURL /* top origin url */, |
442 base::string16 /* database name */, | 454 base::string16 /* database name */, |
443 bool /* allowed */) | 455 bool /* allowed */) |
444 | 456 |
445 // Return information about a plugin for the given URL and MIME type. | 457 // Return information about a plugin for the given URL and MIME type. |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 // WebKit. | 722 // WebKit. |
711 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 723 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
712 base::string16 /* message */, | 724 base::string16 /* message */, |
713 base::string16 /* source */, | 725 base::string16 /* source */, |
714 extensions::StackTrace /* stack trace */, | 726 extensions::StackTrace /* stack trace */, |
715 int32 /* severity level */) | 727 int32 /* severity level */) |
716 | 728 |
717 // Sent by the renderer to check if crash reporting is enabled. | 729 // Sent by the renderer to check if crash reporting is enabled. |
718 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 730 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
719 bool /* enabled */) | 731 bool /* enabled */) |
OLD | NEW |