Automatically set mirroring if facingMode available.

TEST=On 57 mirroring button visible, from 58 mirroring is automatic
     (no button) unless an external camera is connected.
BUG=b:36766974

Change-Id: Ia2282e9e49092f544125cb1c56e47e6e1d78beb5
Reviewed-on: https://chromium-review.googlesource.com/462857
Reviewed-by: Daichi Hirono <hirono@chromium.org>
Tested-by: Tomasz Mikolajewski <mtomasz@chromium.org>
1 file changed
tree: c70f63df19268b8260c391e11cf60bc2ab0c6900
  1. Makefile
  2. PRESUBMIT.cfg
  3. README.md
  4. dev-keys/
  5. src/
  6. tests/
  7. third_party/
  8. utils/
README.md

Camera App

Camera App is a packaged app designed to take pictures with several effects using the embedded web camera.

Supported systems

Should work on any operating system, especially on Chrome OS.

Compiling and installing

To compile run “make all”, then drag the camera.crx package from the build directory to Chrome. Note, that currently building on Linux only is supported. However, the crx packages should work on any other operating system without problems.

Automated tests

To perform automated tests on Linux, run “make run-tests”. Note, that these tests are experimental. The script must be able to execute sudo without a password.

The automated tests run chromium with a testing package of the Camera app. The Camera app communicates with the python test runner via web sockets. Note, that you will need a usb web camera to be plugged in. Embedded notebook cameras may also work, depending on the model.

Shortcuts

  • Left, Right - choose effects.
  • Space, Enter - take a picture.
  • Delete - deletes pictures (in the gallery).
  • Double click - saves pictures (in the gallery).

Tricks

  • Clicking on some effects on the ribbon, randomizes its parameters.

Known issues

http:///crbug.com/?q=Cr%3DPlatform-Apps-Camera