| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "content/common/page_message_enums.h" | 5 #include "content/common/page_message_enums.h" |
| 6 #include "ipc/ipc_message_macros.h" | 6 #include "ipc/ipc_message_macros.h" |
| 7 #include "ui/gfx/geometry/rect.h" | 7 #include "ui/gfx/geometry/rect.h" |
| 8 | 8 |
| 9 // IPC messages for page-level actions. | 9 // IPC messages for page-level actions. |
| 10 // Multiply-included message file, hence no include guard. | 10 // Multiply-included message file, hence no include guard. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // Informs the renderer that the page is no longer hidden. | 36 // Informs the renderer that the page is no longer hidden. |
| 37 IPC_MESSAGE_ROUTED0(PageMsg_WasShown) | 37 IPC_MESSAGE_ROUTED0(PageMsg_WasShown) |
| 38 | 38 |
| 39 // Sent when the history for this page is altered from another process. The | 39 // Sent when the history for this page is altered from another process. The |
| 40 // history list should be reset to |history_length| length, and the offset | 40 // history list should be reset to |history_length| length, and the offset |
| 41 // should be reset to |history_offset|. | 41 // should be reset to |history_offset|. |
| 42 IPC_MESSAGE_ROUTED2(PageMsg_SetHistoryOffsetAndLength, | 42 IPC_MESSAGE_ROUTED2(PageMsg_SetHistoryOffsetAndLength, |
| 43 int /* history_offset */, | 43 int /* history_offset */, |
| 44 int /* history_length */) | 44 int /* history_length */) |
| 45 | 45 |
| 46 IPC_MESSAGE_ROUTED1(PageMsg_AudioStateChanged, bool /* is_audio_playing */) | |
| 47 | |
| 48 // ----------------------------------------------------------------------------- | 46 // ----------------------------------------------------------------------------- |
| 49 // Messages sent from the renderer to the browser. | 47 // Messages sent from the renderer to the browser. |
| 50 | 48 |
| 51 // Adding a new message? Stick to the sort order above: first platform | 49 // Adding a new message? Stick to the sort order above: first platform |
| 52 // independent PageMsg, then ifdefs for platform specific PageMsg, then platform | 50 // independent PageMsg, then ifdefs for platform specific PageMsg, then platform |
| 53 // independent PageHostMsg, then ifdefs for platform specific PageHostMsg. | 51 // independent PageHostMsg, then ifdefs for platform specific PageHostMsg. |
| OLD | NEW |