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 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 int /* request_id */, | 1111 int /* request_id */, |
1112 int /* number of matches */, | 1112 int /* number of matches */, |
1113 gfx::Rect /* selection_rect */, | 1113 gfx::Rect /* selection_rect */, |
1114 int /* active_match_ordinal */, | 1114 int /* active_match_ordinal */, |
1115 bool /* final_update */) | 1115 bool /* final_update */) |
1116 | 1116 |
1117 // Indicates that the current page has been closed, after a ClosePage | 1117 // Indicates that the current page has been closed, after a ClosePage |
1118 // message. | 1118 // message. |
1119 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) | 1119 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) |
1120 | 1120 |
1121 // Notifies the browser that media has started/stopped playing. | |
1122 IPC_MESSAGE_ROUTED3(ViewHostMsg_MediaPlayingNotification, | |
1123 int64 /* player_cookie, distinguishes instances */, | |
1124 bool /* has_video */, | |
1125 bool /* has_audio */) | |
1126 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPausedNotification, | |
1127 int64 /* player_cookie, distinguishes instances */) | |
1128 | |
1129 // Notifies the browser that we have session history information. | 1121 // Notifies the browser that we have session history information. |
1130 // page_id: unique ID that allows us to distinguish between history entries. | 1122 // page_id: unique ID that allows us to distinguish between history entries. |
1131 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 1123 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
1132 int32 /* page_id */, | 1124 int32 /* page_id */, |
1133 content::PageState /* state */) | 1125 content::PageState /* state */) |
1134 | 1126 |
1135 // Changes the title for the page in the UI when the page is navigated or the | 1127 // Changes the title for the page in the UI when the page is navigated or the |
1136 // title changes. | 1128 // title changes. |
1137 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, | 1129 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, |
1138 int32 /* page_id */, | 1130 int32 /* page_id */, |
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1792 // synchronously (see crbug.com/120597). This IPC message sends the character | 1784 // synchronously (see crbug.com/120597). This IPC message sends the character |
1793 // bounds after every composition change to always have correct bound info. | 1785 // bounds after every composition change to always have correct bound info. |
1794 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1786 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1795 gfx::Range /* composition range */, | 1787 gfx::Range /* composition range */, |
1796 std::vector<gfx::Rect> /* character bounds */) | 1788 std::vector<gfx::Rect> /* character bounds */) |
1797 #endif | 1789 #endif |
1798 | 1790 |
1799 // Adding a new message? Stick to the sort order above: first platform | 1791 // Adding a new message? Stick to the sort order above: first platform |
1800 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1792 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1801 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1793 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |