| 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 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 uint32 /* output_surface_id */, | 980 uint32 /* output_surface_id */, |
| 981 cc::CompositorFrameAck /* ack */) | 981 cc::CompositorFrameAck /* ack */) |
| 982 | 982 |
| 983 // Sent by browser to give renderer compositor a new namespace ID for any | 983 // Sent by browser to give renderer compositor a new namespace ID for any |
| 984 // SurfaceSequences it has to create. | 984 // SurfaceSequences it has to create. |
| 985 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceIdNamespace, | 985 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceIdNamespace, |
| 986 uint32_t /* surface_id_namespace */) | 986 uint32_t /* surface_id_namespace */) |
| 987 | 987 |
| 988 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 988 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
| 989 | 989 |
| 990 // Sent by the browser to ask the renderer to adjust the selection |
| 991 // by the given amounts. |
| 992 IPC_MESSAGE_ROUTED2(ViewMsg_MoveSelectionByCharacterOffset, |
| 993 int /* start_adjust*/, |
| 994 int /* end_adjust */) |
| 995 |
| 990 // Sent by the browser to ask the renderer to redraw. | 996 // Sent by the browser to ask the renderer to redraw. |
| 991 // If |request_id| is not zero, it is added to the forced frame's latency info | 997 // If |request_id| is not zero, it is added to the forced frame's latency info |
| 992 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. | 998 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. |
| 993 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, | 999 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
| 994 int /* request_id */) | 1000 int /* request_id */) |
| 995 | 1001 |
| 996 // Sent by the browser when the renderer should generate a new frame. | 1002 // Sent by the browser when the renderer should generate a new frame. |
| 997 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 1003 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| 998 cc::BeginFrameArgs /* args */) | 1004 cc::BeginFrameArgs /* args */) |
| 999 | 1005 |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1617 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1612 // for details. | 1618 // for details. |
| 1613 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1619 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1614 LOGFONT /* font_data */, | 1620 LOGFONT /* font_data */, |
| 1615 base::string16 /* characters */) | 1621 base::string16 /* characters */) |
| 1616 #endif | 1622 #endif |
| 1617 | 1623 |
| 1618 // Adding a new message? Stick to the sort order above: first platform | 1624 // Adding a new message? Stick to the sort order above: first platform |
| 1619 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1625 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1620 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1626 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |