|
Use WebViewClient instead of BlinkPlatform for screen lock.
Using BlinkPlatform hides the WebView that requested the lock, making it
very hard to have a clever handling of screen lock on the browser side
given that it's unknown whom and when requested the lock.
It will also allow locking the appropriate screen in a multi-screen
scenario.
BUG= 162827
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175472
Total comments: 14
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+114 lines, -28 lines) |
Patch |
 |
M |
Source/modules/screen_orientation/ScreenOrientation.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
1 comment
|
Download
|
 |
M |
Source/modules/screen_orientation/ScreenOrientation.cpp
|
View
|
1
2
|
5 chunks |
+17 lines, -6 lines |
2 comments
|
Download
|
 |
M |
Source/modules/screen_orientation/ScreenOrientationController.h
|
View
|
|
1 chunk |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/modules/screen_orientation/ScreenOrientationController.cpp
|
View
|
1
|
5 chunks |
+37 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/web/FrameLoaderClientImpl.cpp
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebViewImpl.cpp
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
public/platform/Platform.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
public/platform/WebScreenOrientationClient.h
|
View
|
1
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
public/web/WebViewClient.h
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|