| 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/string16.h" | 10 #include "base/string16.h" |
| (...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1411 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can | 1411 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can |
| 1412 // throttle these messages. | 1412 // throttle these messages. |
| 1413 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) | 1413 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) |
| 1414 | 1414 |
| 1415 // Sent by the renderer process to request that the browser move the view. | 1415 // Sent by the renderer process to request that the browser move the view. |
| 1416 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and | 1416 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and |
| 1417 // the browser may ignore this message. | 1417 // the browser may ignore this message. |
| 1418 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, | 1418 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, |
| 1419 gfx::Rect /* position */) | 1419 gfx::Rect /* position */) |
| 1420 | 1420 |
| 1421 // Sent by the renderer process to notify the browser that the web page has |
| 1422 // programmatically scrolled. |
| 1423 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidProgrammaticallyScroll, |
| 1424 gfx::Vector2d /* scroll_point */) |
| 1425 |
| 1421 // Notifies the browser that a frame in the view has changed. This message | 1426 // Notifies the browser that a frame in the view has changed. This message |
| 1422 // has a lot of parameters and is packed/unpacked by functions defined in | 1427 // has a lot of parameters and is packed/unpacked by functions defined in |
| 1423 // render_messages.h. | 1428 // render_messages.h. |
| 1424 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, | 1429 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, |
| 1425 ViewHostMsg_FrameNavigate_Params) | 1430 ViewHostMsg_FrameNavigate_Params) |
| 1426 | 1431 |
| 1427 // Used to tell the parent that the user right clicked on an area of the | 1432 // Used to tell the parent that the user right clicked on an area of the |
| 1428 // content area, and a context menu should be shown for it. The params | 1433 // content area, and a context menu should be shown for it. The params |
| 1429 // object contains information about the node(s) that were selected when the | 1434 // object contains information about the node(s) that were selected when the |
| 1430 // user right clicked. | 1435 // user right clicked. |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2277 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2282 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2278 // for details. | 2283 // for details. |
| 2279 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2284 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2280 LOGFONT /* font_data */, | 2285 LOGFONT /* font_data */, |
| 2281 string16 /* characters */) | 2286 string16 /* characters */) |
| 2282 #endif | 2287 #endif |
| 2283 | 2288 |
| 2284 // Adding a new message? Stick to the sort order above: first platform | 2289 // Adding a new message? Stick to the sort order above: first platform |
| 2285 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2290 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2286 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2291 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |