Home | History | Annotate | Download | only in api
      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 
     24