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

Side by Side Diff: third_party/WebKit/public/platform/modules/mediasession/media_session.mojom

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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 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 module blink.mojom; 5 module blink.mojom;
6 6
7 import "mojo/common/common_custom_types.mojom"; 7 import "mojo/common/string16.mojom";
8 import "ui/gfx/geometry/mojo/geometry.mojom"; 8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 import "url/mojo/url.mojom"; 9 import "url/mojo/url.mojom";
10 10
11 // Spec: https://wicg.github.io/mediasession/ 11 // Spec: https://wicg.github.io/mediasession/
12 enum MediaSessionAction { 12 enum MediaSessionAction {
13 PLAY, 13 PLAY,
14 PAUSE, 14 PAUSE,
15 PLAY_PAUSE, 15 PLAY_PAUSE,
16 PREVIOUS_TRACK, 16 PREVIOUS_TRACK,
17 NEXT_TRACK, 17 NEXT_TRACK,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // Notifies the browser that the event handler for |action| has been set, 56 // Notifies the browser that the event handler for |action| has been set,
57 // browser needs to show a media button in the UI or register listeners to the 57 // browser needs to show a media button in the UI or register listeners to the
58 // platform. 58 // platform.
59 EnableAction(MediaSessionAction action); 59 EnableAction(MediaSessionAction action);
60 // Notifies the browser that the event handler for |action| has been set, 60 // Notifies the browser that the event handler for |action| has been set,
61 // browser needs to hide the media button in the UI and unregister listeners 61 // browser needs to hide the media button in the UI and unregister listeners
62 // from the platform. 62 // from the platform.
63 DisableAction(MediaSessionAction action); 63 DisableAction(MediaSessionAction action);
64 }; 64 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/hyphenation/hyphenation.mojom ('k') | ui/events/mojo/latency_info.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698