Attach callback to media element to calculate device rotation
authorSeonae Kim <sunaeluv.kim@samsung.com>
Thu, 4 Apr 2013 04:53:15 +0000 (13:53 +0900)
committerGerrit Code Review <gerrit2@kim11>
Thu, 4 Apr 2013 10:10:08 +0000 (19:10 +0900)
commitd87fb24e4a283117bd8ddc5a0368a310ee328dcd
treef44520dd710369056678b81019321b3c3757123a
parentdd58e1e2e5e0600a3153ad396329dc2a4153ef9d
Attach callback to media element to calculate device rotation

[Title] Attach callback to media element to calculate device rotation
[Issue] N/A
[Problem] There is no place to check the rotation for media.
[Cause] N/A
[Solution] Add rotation callback using sensor apis.

Change-Id: Idbbc97477442cf13009f4c241d9e2ff904240f9b
Source/WTF/wtf/Platform.h
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/html/HTMLMediaElement.h