| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. | 313 // Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. |
| 314 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, | 314 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, |
| 315 bool /* allowed */) | 315 bool /* allowed */) |
| 316 | 316 |
| 317 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. | 317 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. |
| 318 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, | 318 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, |
| 319 bool /* allowed */) | 319 bool /* allowed */) |
| 320 | 320 |
| 321 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) | 321 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) |
| 322 | 322 |
| 323 // Tells the renderer whether or not a file system access has been allowed. |
| 324 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessAsyncResponse, |
| 325 int /* request_id */, |
| 326 bool /* allowed */) |
| 327 |
| 323 // Sent when the profile changes the kSafeBrowsingEnabled preference. | 328 // Sent when the profile changes the kSafeBrowsingEnabled preference. |
| 324 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, | 329 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, |
| 325 bool /* enable_phishing_detection */) | 330 bool /* enable_phishing_detection */) |
| 326 | 331 |
| 327 // Asks the renderer for a thumbnail of the image selected by the most | 332 // Asks the renderer for a thumbnail of the image selected by the most |
| 328 // recently opened context menu, if there is one. If the image's area | 333 // recently opened context menu, if there is one. If the image's area |
| 329 // is greater than thumbnail_min_area it will be downscaled to | 334 // is greater than thumbnail_min_area it will be downscaled to |
| 330 // be within thumbnail_max_size. The possibly downsampled image will be | 335 // be within thumbnail_max_size. The possibly downsampled image will be |
| 331 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. | 336 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. |
| 332 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, | 337 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 // granted by content settings. | 429 // granted by content settings. |
| 425 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, | 430 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, |
| 426 int /* render_frame_id */, | 431 int /* render_frame_id */, |
| 427 GURL /* origin_url */, | 432 GURL /* origin_url */, |
| 428 GURL /* top origin url */, | 433 GURL /* top origin url */, |
| 429 bool /* if true local storage, otherwise session */, | 434 bool /* if true local storage, otherwise session */, |
| 430 bool /* allowed */) | 435 bool /* allowed */) |
| 431 | 436 |
| 432 // Sent by the renderer process to check whether access to FileSystem is | 437 // Sent by the renderer process to check whether access to FileSystem is |
| 433 // granted by content settings. | 438 // granted by content settings. |
| 434 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_AllowFileSystem, | 439 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_RequestFileSystemAccessSync, |
| 435 int /* render_frame_id */, | 440 int /* render_frame_id */, |
| 436 GURL /* origin_url */, | 441 GURL /* origin_url */, |
| 437 GURL /* top origin url */, | 442 GURL /* top origin url */, |
| 438 bool /* allowed */) | 443 bool /* allowed */) |
| 439 | 444 |
| 445 // Sent by the renderer process to check whether access to FileSystem is |
| 446 // granted by content settings. |
| 447 IPC_MESSAGE_CONTROL4(ChromeViewHostMsg_RequestFileSystemAccessAsync, |
| 448 int /* render_frame_id */, |
| 449 int /* request_id */, |
| 450 GURL /* origin_url */, |
| 451 GURL /* top origin url */) |
| 452 |
| 440 // Sent by the renderer process to check whether access to Indexed DBis | 453 // Sent by the renderer process to check whether access to Indexed DBis |
| 441 // granted by content settings. | 454 // granted by content settings. |
| 442 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, | 455 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, |
| 443 int /* render_frame_id */, | 456 int /* render_frame_id */, |
| 444 GURL /* origin_url */, | 457 GURL /* origin_url */, |
| 445 GURL /* top origin url */, | 458 GURL /* top origin url */, |
| 446 base::string16 /* database name */, | 459 base::string16 /* database name */, |
| 447 bool /* allowed */) | 460 bool /* allowed */) |
| 448 | 461 |
| 449 // Return information about a plugin for the given URL and MIME type. | 462 // Return information about a plugin for the given URL and MIME type. |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 // WebKit. | 732 // WebKit. |
| 720 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 733 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| 721 base::string16 /* message */, | 734 base::string16 /* message */, |
| 722 base::string16 /* source */, | 735 base::string16 /* source */, |
| 723 extensions::StackTrace /* stack trace */, | 736 extensions::StackTrace /* stack trace */, |
| 724 int32 /* severity level */) | 737 int32 /* severity level */) |
| 725 | 738 |
| 726 // Sent by the renderer to check if crash reporting is enabled. | 739 // Sent by the renderer to check if crash reporting is enabled. |
| 727 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 740 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
| 728 bool /* enabled */) | 741 bool /* enabled */) |
| OLD | NEW |