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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 IPC_STRUCT_TRAITS_MEMBER(track_color) | 305 IPC_STRUCT_TRAITS_MEMBER(track_color) |
306 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) | 306 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) |
307 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) | 307 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) |
308 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) | 308 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) |
309 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) | 309 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) |
310 IPC_STRUCT_TRAITS_MEMBER(browser_handles_non_local_top_level_requests) | 310 IPC_STRUCT_TRAITS_MEMBER(browser_handles_non_local_top_level_requests) |
311 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) | 311 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) |
312 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) | 312 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) |
313 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) | 313 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) |
314 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) | 314 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) |
| 315 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) |
315 IPC_STRUCT_TRAITS_END() | 316 IPC_STRUCT_TRAITS_END() |
316 | 317 |
317 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) | 318 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) |
318 IPC_STRUCT_TRAITS_MEMBER(security_style) | 319 IPC_STRUCT_TRAITS_MEMBER(security_style) |
319 IPC_STRUCT_TRAITS_MEMBER(cert_id) | 320 IPC_STRUCT_TRAITS_MEMBER(cert_id) |
320 IPC_STRUCT_TRAITS_MEMBER(cert_status) | 321 IPC_STRUCT_TRAITS_MEMBER(cert_status) |
321 IPC_STRUCT_TRAITS_MEMBER(security_bits) | 322 IPC_STRUCT_TRAITS_MEMBER(security_bits) |
322 IPC_STRUCT_TRAITS_MEMBER(connection_status) | 323 IPC_STRUCT_TRAITS_MEMBER(connection_status) |
323 IPC_STRUCT_TRAITS_MEMBER(content_status) | 324 IPC_STRUCT_TRAITS_MEMBER(content_status) |
324 IPC_STRUCT_TRAITS_END() | 325 IPC_STRUCT_TRAITS_END() |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 445 |
445 // The status code of the HTTP request. | 446 // The status code of the HTTP request. |
446 IPC_STRUCT_MEMBER(int, http_status_code) | 447 IPC_STRUCT_MEMBER(int, http_status_code) |
447 | 448 |
448 // True if the connection was proxied. In this case, socket_address | 449 // True if the connection was proxied. In this case, socket_address |
449 // will represent the address of the proxy, rather than the remote host. | 450 // will represent the address of the proxy, rather than the remote host. |
450 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) | 451 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) |
451 | 452 |
452 // Serialized history item state to store in the navigation entry. | 453 // Serialized history item state to store in the navigation entry. |
453 IPC_STRUCT_MEMBER(std::string, content_state) | 454 IPC_STRUCT_MEMBER(std::string, content_state) |
| 455 |
| 456 // User agent override used to navigate. |
| 457 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) |
454 IPC_STRUCT_END() | 458 IPC_STRUCT_END() |
455 | 459 |
456 // This message is used for supporting popup menus on Mac OS X using native | 460 // This message is used for supporting popup menus on Mac OS X using native |
457 // Cocoa controls. The renderer sends us this message which we use to populate | 461 // Cocoa controls. The renderer sends us this message which we use to populate |
458 // the popup menu. | 462 // the popup menu. |
459 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params) | 463 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params) |
460 // Position on the screen. | 464 // Position on the screen. |
461 IPC_STRUCT_MEMBER(gfx::Rect, bounds) | 465 IPC_STRUCT_MEMBER(gfx::Rect, bounds) |
462 | 466 |
463 // The height of each item in the menu. | 467 // The height of each item in the menu. |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 | 648 |
645 // The name of the channel with which a guest talks to its embedder. | 649 // The name of the channel with which a guest talks to its embedder. |
646 // If this newly created RenderView has no embedder this string will be | 650 // If this newly created RenderView has no embedder this string will be |
647 // empty. | 651 // empty. |
648 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) | 652 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) |
649 | 653 |
650 // The identifier in the embedder render process of the container hosting this | 654 // The identifier in the embedder render process of the container hosting this |
651 // guest RenderView. The embedder_channel_name and embedder_container_id | 655 // guest RenderView. The embedder_channel_name and embedder_container_id |
652 // together uniquely identify a browser plugin instance. | 656 // together uniquely identify a browser plugin instance. |
653 IPC_STRUCT_MEMBER(int, embedder_container_id) | 657 IPC_STRUCT_MEMBER(int, embedder_container_id) |
| 658 |
| 659 // Whether or not the user agent override string should be used. |
| 660 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) |
654 IPC_STRUCT_END() | 661 IPC_STRUCT_END() |
655 | 662 |
656 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 663 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
657 // The parent window's id. | 664 // The parent window's id. |
658 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) | 665 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) |
659 | 666 |
660 // Renderer-wide preferences. | 667 // Renderer-wide preferences. |
661 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) | 668 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) |
662 | 669 |
663 // Preferences for this view. | 670 // Preferences for this view. |
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2093 // (according to the value of is_hung). The browser can give the user the | 2100 // (according to the value of is_hung). The browser can give the user the |
2094 // option of killing the plugin. | 2101 // option of killing the plugin. |
2095 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2102 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2096 int /* plugin_child_id */, | 2103 int /* plugin_child_id */, |
2097 FilePath /* path */, | 2104 FilePath /* path */, |
2098 bool /* is_hung */) | 2105 bool /* is_hung */) |
2099 | 2106 |
2100 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2107 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2101 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2108 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2102 int /* orientation */) | 2109 int /* orientation */) |
OLD | NEW |