| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1284 bool /* enable_hiding */, | 1284 bool /* enable_hiding */, |
| 1285 bool /* enable_showing */, | 1285 bool /* enable_showing */, |
| 1286 bool /* animate */) | 1286 bool /* animate */) |
| 1287 | 1287 |
| 1288 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) | 1288 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
| 1289 | 1289 |
| 1290 // Sent by the browser when the renderer should generate a new frame. | 1290 // Sent by the browser when the renderer should generate a new frame. |
| 1291 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 1291 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| 1292 cc::BeginFrameArgs /* args */) | 1292 cc::BeginFrameArgs /* args */) |
| 1293 | 1293 |
| 1294 // Sent by the browser when an IME update that requires acknowledgement has been |
| 1295 // processed on the browser side. |
| 1296 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
| 1297 |
| 1294 #elif defined(OS_MACOSX) | 1298 #elif defined(OS_MACOSX) |
| 1295 // Let the RenderView know its window has changed visibility. | 1299 // Let the RenderView know its window has changed visibility. |
| 1296 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, | 1300 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, |
| 1297 bool /* visibile */) | 1301 bool /* visibile */) |
| 1298 | 1302 |
| 1299 // Let the RenderView know its window's frame has changed. | 1303 // Let the RenderView know its window's frame has changed. |
| 1300 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, | 1304 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, |
| 1301 gfx::Rect /* window frame */, | 1305 gfx::Rect /* window frame */, |
| 1302 gfx::Rect /* content view frame */) | 1306 gfx::Rect /* content view frame */) |
| 1303 | 1307 |
| (...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2325 // Since the browser keeps handles to the allocated transport DIBs, this | 2329 // Since the browser keeps handles to the allocated transport DIBs, this |
| 2326 // message is sent to tell the browser that it may release them when the | 2330 // message is sent to tell the browser that it may release them when the |
| 2327 // renderer is finished with them. | 2331 // renderer is finished with them. |
| 2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 2332 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 2329 TransportDIB::Id /* DIB id */) | 2333 TransportDIB::Id /* DIB id */) |
| 2330 #endif | 2334 #endif |
| 2331 | 2335 |
| 2332 // Adding a new message? Stick to the sort order above: first platform | 2336 // Adding a new message? Stick to the sort order above: first platform |
| 2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2337 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2338 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |