| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 | 387 |
| 388 //----------------------------------------------------------------------------- | 388 //----------------------------------------------------------------------------- |
| 389 // Misc messages | 389 // Misc messages |
| 390 // These are messages sent from the renderer to the browser process. | 390 // These are messages sent from the renderer to the browser process. |
| 391 | 391 |
| 392 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 392 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
| 393 blink::WebCache::UsageStats /* stats */) | 393 blink::WebCache::UsageStats /* stats */) |
| 394 | 394 |
| 395 // Tells the browser that content in the current page was blocked due to the | 395 // Tells the browser that content in the current page was blocked due to the |
| 396 // user's content settings. | 396 // user's content settings. |
| 397 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_ContentBlocked, | 397 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked, |
| 398 ContentSettingsType /* type of blocked content */) | 398 ContentSettingsType /* type of blocked content */, |
| 399 base::string16 /* details on blocked content */) |
| 399 | 400 |
| 400 // Sent by the renderer process to check whether access to web databases is | 401 // Sent by the renderer process to check whether access to web databases is |
| 401 // granted by content settings. | 402 // granted by content settings. |
| 402 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, | 403 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, |
| 403 int /* render_frame_id */, | 404 int /* render_frame_id */, |
| 404 GURL /* origin_url */, | 405 GURL /* origin_url */, |
| 405 GURL /* top origin url */, | 406 GURL /* top origin url */, |
| 406 base::string16 /* database name */, | 407 base::string16 /* database name */, |
| 407 base::string16 /* database display name */, | 408 base::string16 /* database display name */, |
| 408 bool /* allowed */) | 409 bool /* allowed */) |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 // process so that they can be assigned to an Instant renderer. | 663 // process so that they can be assigned to an Instant renderer. |
| 663 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, | 664 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, |
| 664 std::vector<GURL> /* search_urls */, | 665 std::vector<GURL> /* search_urls */, |
| 665 GURL /* new_tab_page_url */) | 666 GURL /* new_tab_page_url */) |
| 666 | 667 |
| 667 #if defined(ENABLE_PLUGINS) | 668 #if defined(ENABLE_PLUGINS) |
| 668 // Sent by the renderer to check if crash reporting is enabled. | 669 // Sent by the renderer to check if crash reporting is enabled. |
| 669 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 670 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
| 670 bool /* enabled */) | 671 bool /* enabled */) |
| 671 #endif | 672 #endif |
| OLD | NEW |