| 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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 IPC_STRUCT_TRAITS_MEMBER(browser_handles_non_local_top_level_requests) | 259 IPC_STRUCT_TRAITS_MEMBER(browser_handles_non_local_top_level_requests) |
| 260 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) | 260 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) |
| 261 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) | 261 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) |
| 262 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors) | 262 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors) |
| 263 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) | 263 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) |
| 264 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track) | 264 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track) |
| 265 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) | 265 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) |
| 266 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) | 266 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) |
| 267 IPC_STRUCT_TRAITS_MEMBER(accept_languages) | 267 IPC_STRUCT_TRAITS_MEMBER(accept_languages) |
| 268 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) | 268 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) |
| 269 IPC_STRUCT_TRAITS_MEMBER(touchpad_fling_profile) | |
| 270 IPC_STRUCT_TRAITS_MEMBER(touchscreen_fling_profile) | |
| 271 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) | 269 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) |
| 272 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) | 270 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) |
| 273 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) | 271 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) |
| 274 IPC_STRUCT_TRAITS_END() | 272 IPC_STRUCT_TRAITS_END() |
| 275 | 273 |
| 276 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) | 274 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) |
| 277 IPC_STRUCT_TRAITS_MEMBER(name) | 275 IPC_STRUCT_TRAITS_MEMBER(name) |
| 278 IPC_STRUCT_TRAITS_MEMBER(value) | 276 IPC_STRUCT_TRAITS_MEMBER(value) |
| 279 IPC_STRUCT_TRAITS_MEMBER(domain) | 277 IPC_STRUCT_TRAITS_MEMBER(domain) |
| 280 IPC_STRUCT_TRAITS_MEMBER(path) | 278 IPC_STRUCT_TRAITS_MEMBER(path) |
| (...skipping 1821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2102 IPC_MESSAGE_ROUTED1( | 2100 IPC_MESSAGE_ROUTED1( |
| 2103 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 2101 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
| 2104 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 2102 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
| 2105 | 2103 |
| 2106 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 2104 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, |
| 2107 uint32 /* output_surface_id */, | 2105 uint32 /* output_surface_id */, |
| 2108 cc::CompositorFrame /* frame */) | 2106 cc::CompositorFrame /* frame */) |
| 2109 | 2107 |
| 2110 // Sent by the compositor when input scroll events are dropped due to bounds | 2108 // Sent by the compositor when input scroll events are dropped due to bounds |
| 2111 // restricions on the root scroll offset. | 2109 // restricions on the root scroll offset. |
| 2112 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, | 2110 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll, |
| 2113 gfx::Vector2dF /* accumulated_overscroll */, | 2111 gfx::Vector2dF /* accumulated_overscroll */) |
| 2114 gfx::Vector2dF /* current_fling_velocity */) | |
| 2115 | 2112 |
| 2116 // Reply to a snapshot request containing whether snapshotting succeeded and the | 2113 // Reply to a snapshot request containing whether snapshotting succeeded and the |
| 2117 // SkBitmap if it succeeded. | 2114 // SkBitmap if it succeeded. |
| 2118 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, | 2115 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, |
| 2119 bool, /* success */ | 2116 bool, /* success */ |
| 2120 SkBitmap /* bitmap */) | 2117 SkBitmap /* bitmap */) |
| 2121 | 2118 |
| 2122 //--------------------------------------------------------------------------- | 2119 //--------------------------------------------------------------------------- |
| 2123 // Request for cryptographic operation messages: | 2120 // Request for cryptographic operation messages: |
| 2124 // These are messages from the renderer to the browser to perform a | 2121 // These are messages from the renderer to the browser to perform a |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2361 // synchronously (see crbug.com/120597). This IPC message sends the character | 2358 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2362 // bounds after every composition change to always have correct bound info. | 2359 // bounds after every composition change to always have correct bound info. |
| 2363 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2360 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2364 gfx::Range /* composition range */, | 2361 gfx::Range /* composition range */, |
| 2365 std::vector<gfx::Rect> /* character bounds */) | 2362 std::vector<gfx::Rect> /* character bounds */) |
| 2366 #endif | 2363 #endif |
| 2367 | 2364 |
| 2368 // Adding a new message? Stick to the sort order above: first platform | 2365 // Adding a new message? Stick to the sort order above: first platform |
| 2369 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2366 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2370 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2367 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |