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

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: fix unittest Created 6 years, 8 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
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 WebcamConfiguration {
8 double? pan;
9 double? zoom;
10 double? tilt;
11 };
12
13 callback WebcamConfigurationCallback =
14 void(WebcamConfiguration configuration);
15
16 interface Functions {
17 static void get(DOMString webcamId, WebcamConfigurationCallback callback);
18 static void set(DOMString webcamId, WebcamConfiguration config);
19 static void reset(DOMString webcamId, WebcamConfiguration config);
20
21 };
22 };
23
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/permissions/chrome_api_permissions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698