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