| 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 2089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2100 IPC_MESSAGE_ROUTED1( | 2100 IPC_MESSAGE_ROUTED1( |
| 2101 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 2101 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
| 2102 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 2102 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
| 2103 | 2103 |
| 2104 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 2104 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, |
| 2105 uint32 /* output_surface_id */, | 2105 uint32 /* output_surface_id */, |
| 2106 cc::CompositorFrame /* frame */) | 2106 cc::CompositorFrame /* frame */) |
| 2107 | 2107 |
| 2108 // 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 |
| 2109 // restricions on the root scroll offset. | 2109 // restricions on the root scroll offset. |
| 2110 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, | 2110 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll, |
| 2111 gfx::Vector2dF /* accumulated_overscroll */, | 2111 gfx::Vector2dF /* accumulated_overscroll */) |
| 2112 gfx::Vector2dF /* current_fling_velocity */) | |
| 2113 | 2112 |
| 2114 // Reply to a snapshot request containing whether snapshotting succeeded and the | 2113 // Reply to a snapshot request containing whether snapshotting succeeded and the |
| 2115 // SkBitmap if it succeeded. | 2114 // SkBitmap if it succeeded. |
| 2116 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, | 2115 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, |
| 2117 bool, /* success */ | 2116 bool, /* success */ |
| 2118 SkBitmap /* bitmap */) | 2117 SkBitmap /* bitmap */) |
| 2119 | 2118 |
| 2120 //--------------------------------------------------------------------------- | 2119 //--------------------------------------------------------------------------- |
| 2121 // Request for cryptographic operation messages: | 2120 // Request for cryptographic operation messages: |
| 2122 // 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... |
| 2359 // synchronously (see crbug.com/120597). This IPC message sends the character | 2358 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2360 // bounds after every composition change to always have correct bound info. | 2359 // bounds after every composition change to always have correct bound info. |
| 2361 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2360 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2362 gfx::Range /* composition range */, | 2361 gfx::Range /* composition range */, |
| 2363 std::vector<gfx::Rect> /* character bounds */) | 2362 std::vector<gfx::Rect> /* character bounds */) |
| 2364 #endif | 2363 #endif |
| 2365 | 2364 |
| 2366 // 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 |
| 2367 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2366 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2368 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2367 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |