OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1275 std::vector<content::ColorSuggestion> /* suggestions */) | 1275 std::vector<content::ColorSuggestion> /* suggestions */) |
1276 | 1276 |
1277 // Asks the browser to end the color chooser. | 1277 // Asks the browser to end the color chooser. |
1278 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) | 1278 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) |
1279 | 1279 |
1280 // Change the selected color in the color chooser. | 1280 // Change the selected color in the color chooser. |
1281 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser, | 1281 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser, |
1282 int /* id */, | 1282 int /* id */, |
1283 SkColor /* color */) | 1283 SkColor /* color */) |
1284 | 1284 |
1285 // Notifies the browser that media has started/stopped playing. | |
1286 IPC_MESSAGE_ROUTED4(FrameHostMsg_MediaPlayingNotification, | |
1287 int64_t /* player_cookie, distinguishes instances */, | |
1288 bool /* has_video */, | |
1289 bool /* has_audio */, | |
1290 bool /* is_remote */) | |
1291 | |
1292 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, | |
1293 int64_t /* player_cookie, distinguishes instances */) | |
1294 | |
1295 // Notify browser the theme color has been changed. | 1285 // Notify browser the theme color has been changed. |
1296 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, | 1286 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, |
1297 SkColor /* theme_color */) | 1287 SkColor /* theme_color */) |
1298 | 1288 |
1299 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and | 1289 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and |
1300 // |endOffset| are the offsets of the selection in the returned |content|. | 1290 // |endOffset| are the offsets of the selection in the returned |content|. |
1301 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 1291 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
1302 base::string16, /* content */ | 1292 base::string16, /* content */ |
1303 size_t, /* startOffset */ | 1293 size_t, /* startOffset */ |
1304 size_t /* endOffset */) | 1294 size_t /* endOffset */) |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1442 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1453 int /* version */, | 1443 int /* version */, |
1454 std::vector<gfx::RectF> /* rects */, | 1444 std::vector<gfx::RectF> /* rects */, |
1455 gfx::RectF /* active_rect */) | 1445 gfx::RectF /* active_rect */) |
1456 #endif | 1446 #endif |
1457 | 1447 |
1458 // Adding a new message? Stick to the sort order above: first platform | 1448 // Adding a new message? Stick to the sort order above: first platform |
1459 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1449 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1460 // platform independent FrameHostMsg, then ifdefs for platform specific | 1450 // platform independent FrameHostMsg, then ifdefs for platform specific |
1461 // FrameHostMsg. | 1451 // FrameHostMsg. |
OLD | NEW |