| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 IPC_STRUCT_TRAITS_MEMBER(deadSize) | 184 IPC_STRUCT_TRAITS_MEMBER(deadSize) |
| 185 IPC_STRUCT_TRAITS_END() | 185 IPC_STRUCT_TRAITS_END() |
| 186 | 186 |
| 187 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, | 187 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, |
| 188 NTP_NUM_EVENT_TYPES) | 188 NTP_NUM_EVENT_TYPES) |
| 189 | 189 |
| 190 //----------------------------------------------------------------------------- | 190 //----------------------------------------------------------------------------- |
| 191 // RenderView messages | 191 // RenderView messages |
| 192 // These are messages sent from the browser to the renderer process. | 192 // These are messages sent from the browser to the renderer process. |
| 193 | 193 |
| 194 // Tells the renderer to set its maximum cache size to the supplied value. | |
| 195 IPC_MESSAGE_CONTROL3(ChromeViewMsg_SetCacheCapacities, | |
| 196 size_t /* min_dead_capacity */, | |
| 197 size_t /* max_dead_capacity */, | |
| 198 size_t /* capacity */) | |
| 199 | |
| 200 // Tells the renderer to clear the cache. | |
| 201 IPC_MESSAGE_CONTROL1(ChromeViewMsg_ClearCache, | |
| 202 bool /* on_navigation */) | |
| 203 | |
| 204 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 194 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 205 // For WebUI testing, this message requests JavaScript to be executed at a time | 195 // For WebUI testing, this message requests JavaScript to be executed at a time |
| 206 // which is late enough to not be thrown out, and early enough to be before | 196 // which is late enough to not be thrown out, and early enough to be before |
| 207 // onload events are fired. | 197 // onload events are fired. |
| 208 IPC_MESSAGE_ROUTED1(ChromeViewMsg_WebUIJavaScript, | 198 IPC_MESSAGE_ROUTED1(ChromeViewMsg_WebUIJavaScript, |
| 209 base::string16 /* javascript */) | 199 base::string16 /* javascript */) |
| 210 #endif | 200 #endif |
| 211 | 201 |
| 212 // Set the content setting rules stored by the renderer. | 202 // Set the content setting rules stored by the renderer. |
| 213 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, | 203 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 // process so that they can be assigned to an Instant renderer. | 642 // process so that they can be assigned to an Instant renderer. |
| 653 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, | 643 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, |
| 654 std::vector<GURL> /* search_urls */, | 644 std::vector<GURL> /* search_urls */, |
| 655 GURL /* new_tab_page_url */) | 645 GURL /* new_tab_page_url */) |
| 656 | 646 |
| 657 #if defined(ENABLE_PLUGINS) | 647 #if defined(ENABLE_PLUGINS) |
| 658 // Sent by the renderer to check if crash reporting is enabled. | 648 // Sent by the renderer to check if crash reporting is enabled. |
| 659 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 649 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
| 660 bool /* enabled */) | 650 bool /* enabled */) |
| 661 #endif | 651 #endif |
| OLD | NEW |