Fix window launched in fullscreen without topbar.

1. Topbar didn't show on hovered unless exiting fullscreen if launching
window in fullscreen mode.
2. Fix maximize() might be called before chrome.storage.local.get
returns results.

BUG=None
TEST=Tested by relaunching the window after closing it at
normal/maximized/fullscreen modes.

Change-Id: I0680efc101e8a473d82c948eee320e7ce5730cab
Reviewed-on: https://chromium-review.googlesource.com/1107434
Reviewed-by: Sheng-hao Tsao <shenghao@google.com>
Tested-by: yuli <yuli@chromium.org>
1 file changed
tree: 0fcd3c32a411d3104b4d6b3d745f3ed96d5e561b
  1. Makefile
  2. PRESUBMIT.cfg
  3. README.md
  4. dev-keys/
  5. src/
  6. tests/
  7. utils/
README.md

Camera App

Camera App is a packaged app designed to take photos and record videos.

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

  • Space - take a picture.

Known issues

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