Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: content/common/frame_messages.h

Issue 1570043002: Implement MediaSession on top of the WebMediaPlayerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_session
Patch Set: Comments. Switch to mp3. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 std::vector<content::ColorSuggestion> /* suggestions */) 1259 std::vector<content::ColorSuggestion> /* suggestions */)
1260 1260
1261 // Asks the browser to end the color chooser. 1261 // Asks the browser to end the color chooser.
1262 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) 1262 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */)
1263 1263
1264 // Change the selected color in the color chooser. 1264 // Change the selected color in the color chooser.
1265 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser, 1265 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser,
1266 int /* id */, 1266 int /* id */,
1267 SkColor /* color */) 1267 SkColor /* color */)
1268 1268
1269 // Notifies the browser that media has started/stopped playing.
1270 IPC_MESSAGE_ROUTED4(FrameHostMsg_MediaPlayingNotification,
1271 int64_t /* player_cookie, distinguishes instances */,
1272 bool /* has_video */,
1273 bool /* has_audio */,
1274 bool /* is_remote */)
1275
1276 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
1277 int64_t /* player_cookie, distinguishes instances */)
1278
1279 // Notify browser the theme color has been changed. 1269 // Notify browser the theme color has been changed.
1280 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, 1270 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor,
1281 SkColor /* theme_color */) 1271 SkColor /* theme_color */)
1282 1272
1283 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and 1273 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and
1284 // |endOffset| are the offsets of the selection in the returned |content|. 1274 // |endOffset| are the offsets of the selection in the returned |content|.
1285 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 1275 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
1286 base::string16, /* content */ 1276 base::string16, /* content */
1287 size_t, /* startOffset */ 1277 size_t, /* startOffset */
1288 size_t /* endOffset */) 1278 size_t /* endOffset */)
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1423 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1434 int /* version */, 1424 int /* version */,
1435 std::vector<gfx::RectF> /* rects */, 1425 std::vector<gfx::RectF> /* rects */,
1436 gfx::RectF /* active_rect */) 1426 gfx::RectF /* active_rect */)
1437 #endif 1427 #endif
1438 1428
1439 // Adding a new message? Stick to the sort order above: first platform 1429 // Adding a new message? Stick to the sort order above: first platform
1440 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1430 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1441 // platform independent FrameHostMsg, then ifdefs for platform specific 1431 // platform independent FrameHostMsg, then ifdefs for platform specific
1442 // FrameHostMsg. 1432 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698