| 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 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2056 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 2056 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, |
| 2057 uint32 /* output_surface_id */, | 2057 uint32 /* output_surface_id */, |
| 2058 cc::CompositorFrame /* frame */) | 2058 cc::CompositorFrame /* frame */) |
| 2059 | 2059 |
| 2060 // Sent by the compositor when input scroll events are dropped due to bounds | 2060 // Sent by the compositor when input scroll events are dropped due to bounds |
| 2061 // restricions on the root scroll offset. | 2061 // restricions on the root scroll offset. |
| 2062 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, | 2062 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, |
| 2063 gfx::Vector2dF /* accumulated_overscroll */, | 2063 gfx::Vector2dF /* accumulated_overscroll */, |
| 2064 gfx::Vector2dF /* current_fling_velocity */) | 2064 gfx::Vector2dF /* current_fling_velocity */) |
| 2065 | 2065 |
| 2066 // Sent by the compositor when a flinging animation is stopped. |
| 2067 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) |
| 2068 |
| 2066 // Reply to a snapshot request containing whether snapshotting succeeded and the | 2069 // Reply to a snapshot request containing whether snapshotting succeeded and the |
| 2067 // SkBitmap if it succeeded. | 2070 // SkBitmap if it succeeded. |
| 2068 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, | 2071 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, |
| 2069 bool, /* success */ | 2072 bool, /* success */ |
| 2070 SkBitmap /* bitmap */) | 2073 SkBitmap /* bitmap */) |
| 2071 | 2074 |
| 2072 //--------------------------------------------------------------------------- | 2075 //--------------------------------------------------------------------------- |
| 2073 // Request for cryptographic operation messages: | 2076 // Request for cryptographic operation messages: |
| 2074 // These are messages from the renderer to the browser to perform a | 2077 // These are messages from the renderer to the browser to perform a |
| 2075 // cryptographic operation. | 2078 // cryptographic operation. |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2331 // synchronously (see crbug.com/120597). This IPC message sends the character | 2334 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2332 // bounds after every composition change to always have correct bound info. | 2335 // bounds after every composition change to always have correct bound info. |
| 2333 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2336 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2334 gfx::Range /* composition range */, | 2337 gfx::Range /* composition range */, |
| 2335 std::vector<gfx::Rect> /* character bounds */) | 2338 std::vector<gfx::Rect> /* character bounds */) |
| 2336 #endif | 2339 #endif |
| 2337 | 2340 |
| 2338 // Adding a new message? Stick to the sort order above: first platform | 2341 // Adding a new message? Stick to the sort order above: first platform |
| 2339 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2342 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2340 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2343 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |