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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 IPC_STRUCT_TRAITS_MEMBER(track_color) | 306 IPC_STRUCT_TRAITS_MEMBER(track_color) |
307 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) | 307 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) |
308 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) | 308 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) |
309 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) | 309 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) |
310 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) | 310 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) |
311 IPC_STRUCT_TRAITS_MEMBER(browser_handles_non_local_top_level_requests) | 311 IPC_STRUCT_TRAITS_MEMBER(browser_handles_non_local_top_level_requests) |
312 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) | 312 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) |
313 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) | 313 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) |
314 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) | 314 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) |
315 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) | 315 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) |
| 316 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) |
316 IPC_STRUCT_TRAITS_END() | 317 IPC_STRUCT_TRAITS_END() |
317 | 318 |
318 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) | 319 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) |
319 IPC_STRUCT_TRAITS_MEMBER(security_style) | 320 IPC_STRUCT_TRAITS_MEMBER(security_style) |
320 IPC_STRUCT_TRAITS_MEMBER(cert_id) | 321 IPC_STRUCT_TRAITS_MEMBER(cert_id) |
321 IPC_STRUCT_TRAITS_MEMBER(cert_status) | 322 IPC_STRUCT_TRAITS_MEMBER(cert_status) |
322 IPC_STRUCT_TRAITS_MEMBER(security_bits) | 323 IPC_STRUCT_TRAITS_MEMBER(security_bits) |
323 IPC_STRUCT_TRAITS_MEMBER(connection_status) | 324 IPC_STRUCT_TRAITS_MEMBER(connection_status) |
324 IPC_STRUCT_TRAITS_MEMBER(content_status) | 325 IPC_STRUCT_TRAITS_MEMBER(content_status) |
325 IPC_STRUCT_TRAITS_END() | 326 IPC_STRUCT_TRAITS_END() |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 | 446 |
446 // The status code of the HTTP request. | 447 // The status code of the HTTP request. |
447 IPC_STRUCT_MEMBER(int, http_status_code) | 448 IPC_STRUCT_MEMBER(int, http_status_code) |
448 | 449 |
449 // True if the connection was proxied. In this case, socket_address | 450 // True if the connection was proxied. In this case, socket_address |
450 // will represent the address of the proxy, rather than the remote host. | 451 // will represent the address of the proxy, rather than the remote host. |
451 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) | 452 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) |
452 | 453 |
453 // Serialized history item state to store in the navigation entry. | 454 // Serialized history item state to store in the navigation entry. |
454 IPC_STRUCT_MEMBER(std::string, content_state) | 455 IPC_STRUCT_MEMBER(std::string, content_state) |
| 456 |
| 457 // User agent override used to navigate. |
| 458 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) |
455 IPC_STRUCT_END() | 459 IPC_STRUCT_END() |
456 | 460 |
457 // This message is used for supporting popup menus on Mac OS X using native | 461 // This message is used for supporting popup menus on Mac OS X using native |
458 // Cocoa controls. The renderer sends us this message which we use to populate | 462 // Cocoa controls. The renderer sends us this message which we use to populate |
459 // the popup menu. | 463 // the popup menu. |
460 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params) | 464 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params) |
461 // Position on the screen. | 465 // Position on the screen. |
462 IPC_STRUCT_MEMBER(gfx::Rect, bounds) | 466 IPC_STRUCT_MEMBER(gfx::Rect, bounds) |
463 | 467 |
464 // The height of each item in the menu. | 468 // The height of each item in the menu. |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 | 653 |
650 // The name of the channel with which a guest talks to its embedder. | 654 // The name of the channel with which a guest talks to its embedder. |
651 // If this newly created RenderView has no embedder this string will be | 655 // If this newly created RenderView has no embedder this string will be |
652 // empty. | 656 // empty. |
653 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) | 657 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) |
654 | 658 |
655 // The identifier in the embedder render process of the container hosting this | 659 // The identifier in the embedder render process of the container hosting this |
656 // guest RenderView. The embedder_channel_name and embedder_container_id | 660 // guest RenderView. The embedder_channel_name and embedder_container_id |
657 // together uniquely identify a browser plugin instance. | 661 // together uniquely identify a browser plugin instance. |
658 IPC_STRUCT_MEMBER(int, embedder_container_id) | 662 IPC_STRUCT_MEMBER(int, embedder_container_id) |
| 663 |
| 664 // Whether or not the user agent override string should be used. |
| 665 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) |
659 IPC_STRUCT_END() | 666 IPC_STRUCT_END() |
660 | 667 |
661 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 668 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
662 // The parent window's id. | 669 // The parent window's id. |
663 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) | 670 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) |
664 | 671 |
665 // Renderer-wide preferences. | 672 // Renderer-wide preferences. |
666 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) | 673 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) |
667 | 674 |
668 // Preferences for this view. | 675 // Preferences for this view. |
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2108 // (according to the value of is_hung). The browser can give the user the | 2115 // (according to the value of is_hung). The browser can give the user the |
2109 // option of killing the plugin. | 2116 // option of killing the plugin. |
2110 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2117 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2111 int /* plugin_child_id */, | 2118 int /* plugin_child_id */, |
2112 FilePath /* path */, | 2119 FilePath /* path */, |
2113 bool /* is_hung */) | 2120 bool /* is_hung */) |
2114 | 2121 |
2115 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2122 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2116 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2123 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2117 int /* orientation */) | 2124 int /* orientation */) |
OLD | NEW |