| 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 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) | 939 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
| 940 | 940 |
| 941 // Sent by the browser when the renderer should generate a new frame. | 941 // Sent by the browser when the renderer should generate a new frame. |
| 942 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 942 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| 943 cc::BeginFrameArgs /* args */) | 943 cc::BeginFrameArgs /* args */) |
| 944 | 944 |
| 945 // Sent by the browser when an IME update that requires acknowledgement has been | 945 // Sent by the browser when an IME update that requires acknowledgement has been |
| 946 // processed on the browser side. | 946 // processed on the browser side. |
| 947 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) | 947 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
| 948 | 948 |
| 949 // Sent by the browser when we should pause video playback. | |
| 950 IPC_MESSAGE_ROUTED0(ViewMsg_PauseVideo); | |
| 951 | |
| 952 // Extracts the data at the given rect, returning it through the | 949 // Extracts the data at the given rect, returning it through the |
| 953 // ViewHostMsg_SmartClipDataExtracted IPC. | 950 // ViewHostMsg_SmartClipDataExtracted IPC. |
| 954 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, | 951 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, |
| 955 gfx::Rect /* rect */) | 952 gfx::Rect /* rect */) |
| 956 | 953 |
| 957 #elif defined(OS_MACOSX) | 954 #elif defined(OS_MACOSX) |
| 958 // Let the RenderView know its window has changed visibility. | 955 // Let the RenderView know its window has changed visibility. |
| 959 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, | 956 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, |
| 960 bool /* visibile */) | 957 bool /* visibile */) |
| 961 | 958 |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1747 // synchronously (see crbug.com/120597). This IPC message sends the character | 1744 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1748 // bounds after every composition change to always have correct bound info. | 1745 // bounds after every composition change to always have correct bound info. |
| 1749 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1746 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1750 gfx::Range /* composition range */, | 1747 gfx::Range /* composition range */, |
| 1751 std::vector<gfx::Rect> /* character bounds */) | 1748 std::vector<gfx::Rect> /* character bounds */) |
| 1752 #endif | 1749 #endif |
| 1753 | 1750 |
| 1754 // Adding a new message? Stick to the sort order above: first platform | 1751 // Adding a new message? Stick to the sort order above: first platform |
| 1755 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1752 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1756 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1753 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |