Implement ScreenOrientationDelegate on ChromeOS
commit4f3952e7d0172a50d26a6eb57660623db70000db
authorjonross <jonross@chromium.org>
Wed, 12 Nov 2014 21:42:31 +0000 (12 13:42 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Nov 2014 21:42:46 +0000 (12 21:42 +0000)
tree4fd7ace867d52506e80ef5bef467545cc4898a08
parent98a7506987dccd2f6456d5d8399a215a4ab01590
Implement ScreenOrientationDelegate on ChromeOS

Extend content::ScreenOrientationDelegate within ash to provide functionality on ChromeOS.

Also provides a fix for a bug in ScreenOrientationProvider that was found during development.

TEST=Manual testing on TouchView device with an HTML page that performs ScreenOrientation requests.
BUG=396760

Review URL: https://codereview.chromium.org/648733003

Cr-Commit-Position: refs/heads/master@{#303898}
13 files changed:
ash/ash.gyp
ash/content/display/DEPS [new file with mode: 0644]
ash/content/display/screen_orientation_delegate_chromeos.cc [new file with mode: 0644]
ash/content/display/screen_orientation_delegate_chromeos.h [new file with mode: 0644]
ash/content/display/screen_orientation_delegate_chromeos_unittest.cc [new file with mode: 0644]
ash/shell.cc
ash/shell.h
ash/wm/maximize_mode/maximize_mode_controller.cc
ash/wm/maximize_mode/maximize_mode_controller.h
content/browser/screen_orientation/screen_orientation_delegate_android.cc
content/browser/screen_orientation/screen_orientation_delegate_android.h
content/public/browser/screen_orientation_delegate.h
content/public/browser/screen_orientation_provider.cc