Fix wrong camera picked when toggling cameras.

This fix is for 59 only. It won't work for 58 and older.

TEST=Tested manually.

Change-Id: Id1c454af7f57a046d46887033a0654eb060e1cbd
Reviewed-by: Daichi Hirono <>
Tested-by: Tomasz Mikolajewski <>
1 file changed
tree: 94d0c88392279accfc312ce054d67ae63f5577c8
  1. Makefile
  2. PRESUBMIT.cfg
  4. dev-keys/
  5. src/
  6. tests/
  7. third_party/
  8. utils/

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.


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


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

Known issues