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

Side by Side Diff: content/common/presentation_service.mojom

Issue 839773002: Plumbing from WebPresentationClient to the Presentation Mojo service for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the build Created 5 years, 11 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module presentation;
6
7 [Client=PresentationServiceClient]
mlamouri (slow - plz ping) 2015/01/08 15:08:54 My understanding is that we want to get ride of Cl
whywhat 2015/01/08 17:28:53 Done.
8 interface PresentationService {
9 /* NavigatorPresentation idl */
10
11 // Called when a listener is added to navigator.presentation.availablechange.
12 // Might start device discovery.
13 AddDeviceAvailabilityListener();
mlamouri (slow - plz ping) 2015/01/08 15:08:54 ... instead, you could pass an interface in this m
whywhat 2015/01/08 17:28:53 Done.
14
15 // Called when a listener is removed from
16 // navigator.presentation.availablechange.
17 // Might stop device discovery.
18 RemoveDeviceAvailabilityListener();
mlamouri (slow - plz ping) 2015/01/08 15:08:54 ... and that one.
whywhat 2015/01/08 17:28:53 Got it. Very convenient :(
19 };
20
21 interface PresentationServiceClient {
22 // Called when the device availability changes.
23 // Fires the |availablechange| event.
Peter Beverloo 2015/01/07 19:41:21 +"in JavaScript."
whywhat 2015/01/08 17:28:53 Done.
24 DeviceAvailabilityChanged(bool available);
25 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698