| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| mojom("capture_types") { |
| sources = [ |
| "video_capture_types.mojom", |
| ] |
| |
| public_deps = [ |
| "//media/mojo/interfaces", |
| "//mojo/common:common_custom_types", |
| "//ui/gfx/geometry/mojo", |
| ] |
| } |
| |
| mojom("image_capture") { |
| sources = [ |
| "image_capture.mojom", |
| ] |
| |
| # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| use_once_callback = false |
| |
| # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| use_new_js_bindings = false |
| } |