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

Side by Side Diff: chrome/common/extensions/api/webcam_private.idl

Issue 205243005: Add chrome.webcamPrivate idl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 // Webcam Private API.
6 namespace webcamPrivate {
7 dictionary WebcamParameters {
8 DOMString sourceId;
9 double? value;
not at google - send to devlin 2014/03/20 11:24:51 what do these mean?
10 };
11
12 callback SuccessCallback = void(boolean success);
not at google - send to devlin 2014/03/20 11:24:51 typically success is implicit so long as it doesn'
13 callback PZTCallback = void(boolean success,
14 double pan,
15 double zoom,
16 double tilt);
17
18 interface Functions {
19 static void resetPan(WebcamParameters params,
20 optional SuccessCallback callback);
21 static void resetZoom(WebcamParameters params,
22 optional SuccessCallback callback);
23 static void resetTilt(WebcamParameters params,
24 optional SuccessCallback callback);
25
26 static void setPan(WebcamParameters params,
27 optional SuccessCallback callback);
28 static void setZoom(WebcamParameters params,
29 optional SuccessCallback callback);
30 static void setTilt(WebcamParameters params,
31 optional SuccessCallback callback);
32
33 static void getCurrentPanZoomTilt(DOMString sourceId, PZTCallback callback);
not at google - send to devlin 2014/03/20 11:24:51 you could also consider dictionary WebcamParamete
34 };
35 };
36
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698