| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) | 250 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) |
| 251 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) | 251 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) |
| 252 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) | 252 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) |
| 253 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) | 253 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) |
| 254 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) | 254 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) |
| 255 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) | 255 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) |
| 256 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors) | 256 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors) |
| 257 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) | 257 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) |
| 258 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track) | 258 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track) |
| 259 IPC_STRUCT_TRAITS_MEMBER(webrtc_ip_handling_policy) | 259 IPC_STRUCT_TRAITS_MEMBER(webrtc_ip_handling_policy) |
| 260 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) | |
| 261 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) | 260 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) |
| 262 IPC_STRUCT_TRAITS_MEMBER(accept_languages) | 261 IPC_STRUCT_TRAITS_MEMBER(accept_languages) |
| 263 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) | 262 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) |
| 264 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) | 263 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) |
| 265 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) | 264 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) |
| 266 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) | 265 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) |
| 267 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video) | 266 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video) |
| 268 IPC_STRUCT_TRAITS_MEMBER(use_view_overlay_for_all_video) | 267 IPC_STRUCT_TRAITS_MEMBER(use_view_overlay_for_all_video) |
| 269 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso) | 268 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso) |
| 270 #if defined(OS_WIN) | 269 #if defined(OS_WIN) |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 double /* zoom_level */) | 691 double /* zoom_level */) |
| 693 | 692 |
| 694 // Set the zoom level for a particular url, so all render views | 693 // Set the zoom level for a particular url, so all render views |
| 695 // displaying this url can update their zoom levels to match. | 694 // displaying this url can update their zoom levels to match. |
| 696 // If scheme is empty, then only host is used for matching. | 695 // If scheme is empty, then only host is used for matching. |
| 697 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, | 696 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, |
| 698 std::string /* scheme */, | 697 std::string /* scheme */, |
| 699 std::string /* host */, | 698 std::string /* host */, |
| 700 double /* zoom_level */) | 699 double /* zoom_level */) |
| 701 | 700 |
| 702 // Set the zoom level for a particular render view. | |
| 703 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForView, | |
| 704 bool /* uses_temporary_zoom_level */, | |
| 705 double /* zoom_level */) | |
| 706 | |
| 707 // Change encoding of page in the renderer. | 701 // Change encoding of page in the renderer. |
| 708 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, | 702 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, |
| 709 std::string /*new encoding name*/) | 703 std::string /*new encoding name*/) |
| 710 | 704 |
| 711 // Reset encoding of page in the renderer back to default. | 705 // Reset encoding of page in the renderer back to default. |
| 712 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) | 706 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) |
| 713 | 707 |
| 714 // Used to tell a render view whether it should expose various bindings | 708 // Used to tell a render view whether it should expose various bindings |
| 715 // that allow JS content extended privileges. See BindingsPolicy for valid | 709 // that allow JS content extended privileges. See BindingsPolicy for valid |
| 716 // flag values. | 710 // flag values. |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1311 // Instructs the browser to start plugin IME. | 1305 // Instructs the browser to start plugin IME. |
| 1312 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1306 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
| 1313 | 1307 |
| 1314 // Receives content of a web page as plain text. | 1308 // Receives content of a web page as plain text. |
| 1315 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1309 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1316 #endif | 1310 #endif |
| 1317 | 1311 |
| 1318 // Adding a new message? Stick to the sort order above: first platform | 1312 // Adding a new message? Stick to the sort order above: first platform |
| 1319 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1313 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1320 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1314 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |