Chromium Code Reviews| 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 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2064 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 2064 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, |
| 2065 uint32 /* output_surface_id */, | 2065 uint32 /* output_surface_id */, |
| 2066 cc::CompositorFrame /* frame */) | 2066 cc::CompositorFrame /* frame */) |
| 2067 | 2067 |
| 2068 // Sent by the compositor when input scroll events are dropped due to bounds | 2068 // Sent by the compositor when input scroll events are dropped due to bounds |
| 2069 // restricions on the root scroll offset. | 2069 // restricions on the root scroll offset. |
| 2070 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, | 2070 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, |
| 2071 gfx::Vector2dF /* accumulated_overscroll */, | 2071 gfx::Vector2dF /* accumulated_overscroll */, |
| 2072 gfx::Vector2dF /* current_fling_velocity */) | 2072 gfx::Vector2dF /* current_fling_velocity */) |
| 2073 | 2073 |
| 2074 // Sent by the compositor when a flinging animation is stopped. | |
| 2075 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) | |
|
jdduke (slow)
2014/01/09 20:07:14
I guess I should have made ViewHostMsg_DidOverscro
| |
| 2076 | |
| 2074 // Reply to a snapshot request containing whether snapshotting succeeded and the | 2077 // Reply to a snapshot request containing whether snapshotting succeeded and the |
| 2075 // SkBitmap if it succeeded. | 2078 // SkBitmap if it succeeded. |
| 2076 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, | 2079 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, |
| 2077 bool, /* success */ | 2080 bool, /* success */ |
| 2078 SkBitmap /* bitmap */) | 2081 SkBitmap /* bitmap */) |
| 2079 | 2082 |
| 2080 //--------------------------------------------------------------------------- | 2083 //--------------------------------------------------------------------------- |
| 2081 // Request for cryptographic operation messages: | 2084 // Request for cryptographic operation messages: |
| 2082 // These are messages from the renderer to the browser to perform a | 2085 // These are messages from the renderer to the browser to perform a |
| 2083 // cryptographic operation. | 2086 // cryptographic operation. |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2339 // synchronously (see crbug.com/120597). This IPC message sends the character | 2342 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2340 // bounds after every composition change to always have correct bound info. | 2343 // bounds after every composition change to always have correct bound info. |
| 2341 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2344 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2342 gfx::Range /* composition range */, | 2345 gfx::Range /* composition range */, |
| 2343 std::vector<gfx::Rect> /* character bounds */) | 2346 std::vector<gfx::Rect> /* character bounds */) |
| 2344 #endif | 2347 #endif |
| 2345 | 2348 |
| 2346 // Adding a new message? Stick to the sort order above: first platform | 2349 // Adding a new message? Stick to the sort order above: first platform |
| 2347 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2350 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2348 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2351 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |