|
Screen Orientation API: screen.orientation & orientationchange event
Screen Orientation API: add implemention for screen.orientation attribute, keep
it updated via the ScreenOrientationController and notify client of orientation
changes via the 'orientationchange' event.
The layout test infrastructure is still missing to test this. It will be added
in a follow-up patch.
R=abarth
BUG= 162827
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167477
Total comments: 19
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+353 lines, -15 lines) |
Patch |
|
A |
LayoutTests/screen_orientation/orientation-attribute.html
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/screen_orientation/orientation-attribute-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/modules.gypi
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/screen_orientation/ScreenOrientation.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/screen_orientation/ScreenOrientation.cpp
|
View
|
1
|
3 chunks |
+48 lines, -12 lines |
0 comments
|
Download
|
|
A |
Source/modules/screen_orientation/ScreenOrientationController.h
|
View
|
1
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/screen_orientation/ScreenOrientationController.cpp
|
View
|
1
2
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/screen_orientation/ScreenOrientationDispatcher.h
|
View
|
1
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
|
View
|
1
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/web/FrameLoaderClientImpl.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
public/platform/Platform.h
|
View
|
1
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
public/platform/WebScreenOrientation.h
|
View
|
1
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
public/platform/WebScreenOrientationListener.h
|
View
|
1
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (0 generated)
|