| 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 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 // Sent by the browser when an IME update that requires acknowledgement has been | 968 // Sent by the browser when an IME update that requires acknowledgement has been |
| 969 // processed on the browser side. | 969 // processed on the browser side. |
| 970 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) | 970 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
| 971 | 971 |
| 972 // Extracts the data at the given rect, returning it through the | 972 // Extracts the data at the given rect, returning it through the |
| 973 // ViewHostMsg_SmartClipDataExtracted IPC. | 973 // ViewHostMsg_SmartClipDataExtracted IPC. |
| 974 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, | 974 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, |
| 975 gfx::Rect /* rect */) | 975 gfx::Rect /* rect */) |
| 976 | 976 |
| 977 #elif defined(OS_MACOSX) | 977 #elif defined(OS_MACOSX) |
| 978 // Let the RenderView know its window has changed visibility. | |
| 979 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, | |
| 980 bool /* visibile */) | |
| 981 | |
| 982 // Let the RenderView know its window's frame has changed. | 978 // Let the RenderView know its window's frame has changed. |
| 983 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, | 979 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, |
| 984 gfx::Rect /* window frame */, | 980 gfx::Rect /* window frame */, |
| 985 gfx::Rect /* content view frame */) | 981 gfx::Rect /* content view frame */) |
| 986 | 982 |
| 987 // Message sent from the browser to the renderer when the user starts or stops | 983 // Message sent from the browser to the renderer when the user starts or stops |
| 988 // resizing the view. | 984 // resizing the view. |
| 989 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize, | 985 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize, |
| 990 bool /* enable */) | 986 bool /* enable */) |
| 991 | 987 |
| 992 // Tell the renderer that plugin IME has completed. | 988 // Tell the renderer that plugin IME has completed. |
| 993 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 989 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
| 994 base::string16 /* text */, | 990 base::string16 /* text */, |
| 995 int /* plugin_id */) | 991 int /* plugin_id */) |
| 996 #endif | 992 #endif |
| 997 | 993 |
| 994 // Let the RenderView know its window has changed visibility. |
| 995 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, |
| 996 bool /* visibile */) |
| 997 |
| 998 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. | 998 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
| 999 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, | 999 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
| 1000 uint32 /* output_surface_id */, | 1000 uint32 /* output_surface_id */, |
| 1001 cc::CompositorFrameAck /* ack */) | 1001 cc::CompositorFrameAck /* ack */) |
| 1002 | 1002 |
| 1003 // Sent by browser to tell renderer compositor that some resources that were | 1003 // Sent by browser to tell renderer compositor that some resources that were |
| 1004 // given to the browser in a swap are not being used anymore. | 1004 // given to the browser in a swap are not being used anymore. |
| 1005 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, | 1005 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, |
| 1006 uint32 /* output_surface_id */, | 1006 uint32 /* output_surface_id */, |
| 1007 cc::CompositorFrameAck /* ack */) | 1007 cc::CompositorFrameAck /* ack */) |
| (...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1674 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1674 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1675 // for details. | 1675 // for details. |
| 1676 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1676 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1677 LOGFONT /* font_data */, | 1677 LOGFONT /* font_data */, |
| 1678 base::string16 /* characters */) | 1678 base::string16 /* characters */) |
| 1679 #endif | 1679 #endif |
| 1680 | 1680 |
| 1681 // Adding a new message? Stick to the sort order above: first platform | 1681 // Adding a new message? Stick to the sort order above: first platform |
| 1682 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1682 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1683 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1683 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |