| 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 IPC_MESSAGE_ROUTED1(ViewMsg_LockMouse_ACK, | 555 IPC_MESSAGE_ROUTED1(ViewMsg_LockMouse_ACK, |
| 556 bool /* succeeded */) | 556 bool /* succeeded */) |
| 557 // Tells the render side that the mouse has been unlocked. | 557 // Tells the render side that the mouse has been unlocked. |
| 558 IPC_MESSAGE_ROUTED0(ViewMsg_MouseLockLost) | 558 IPC_MESSAGE_ROUTED0(ViewMsg_MouseLockLost) |
| 559 | 559 |
| 560 // Sent by the browser when the parameters for vsync alignment have changed. | 560 // Sent by the browser when the parameters for vsync alignment have changed. |
| 561 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateVSyncParameters, | 561 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateVSyncParameters, |
| 562 base::TimeTicks /* timebase */, | 562 base::TimeTicks /* timebase */, |
| 563 base::TimeDelta /* interval */) | 563 base::TimeDelta /* interval */) |
| 564 | 564 |
| 565 // Sent to the RenderView when a new tab is swapped into an existing | 565 // Sent when the history is altered outside of navigation. The history list was |
| 566 // tab and the histories need to be merged. The existing tab has a history of | 566 // reset to |history_length| length, and the offset was reset to be |
| 567 // |merged_history_length| which precedes the history of the new tab. All | 567 // |history_offset|. |
| 568 // page_ids >= |minimum_page_id| in the new tab are appended to the history. | 568 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryOffsetAndLength, |
| 569 // | 569 int /* history_offset */, |
| 570 // For example, suppose the history of page_ids in the new tab's RenderView | 570 int /* history_length */) |
| 571 // is [4 7 8]. This is merged into an existing tab with 3 history items, and | |
| 572 // all pages in the new tab with page_id >= 7 are to be preserved. | |
| 573 // The resulting page history is [-1 -1 -1 7 8]. | |
| 574 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune, | |
| 575 int, /* merge_history_length */ | |
| 576 int32 /* minimum_page_id */) | |
| 577 | 571 |
| 578 // Tells the renderer to create a new view. | 572 // Tells the renderer to create a new view. |
| 579 // This message is slightly different, the view it takes (via | 573 // This message is slightly different, the view it takes (via |
| 580 // ViewMsg_New_Params) is the view to create, the message itself is sent as a | 574 // ViewMsg_New_Params) is the view to create, the message itself is sent as a |
| 581 // non-view control message. | 575 // non-view control message. |
| 582 IPC_MESSAGE_CONTROL1(ViewMsg_New, | 576 IPC_MESSAGE_CONTROL1(ViewMsg_New, |
| 583 ViewMsg_New_Params) | 577 ViewMsg_New_Params) |
| 584 | 578 |
| 585 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. | 579 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. |
| 586 // similar to the new command, but used when the renderer created a view | 580 // similar to the new command, but used when the renderer created a view |
| (...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1642 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1636 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1643 // for details. | 1637 // for details. |
| 1644 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1638 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1645 LOGFONT /* font_data */, | 1639 LOGFONT /* font_data */, |
| 1646 base::string16 /* characters */) | 1640 base::string16 /* characters */) |
| 1647 #endif | 1641 #endif |
| 1648 | 1642 |
| 1649 // Adding a new message? Stick to the sort order above: first platform | 1643 // Adding a new message? Stick to the sort order above: first platform |
| 1650 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1644 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1651 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1645 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |