|
Add ash-enable-immersive-all-windows command line flag to enable immersive fullscreen for non-frameless v2 apps. (The goal is to add support for immersive fullscreen for v1 apps and miscellaneous windows such as the task manager shortly) When the flag is set, <F4> will put the app into immersive fullscreen.
In immersive fullscreen, the window header (the title bar and window controls) slide out as an overlay over the web contents when the mouse is hovered at the top of the display.
chrome.app.window.current().isFullscreen() returns false for immersive fullscreen windows
Entering fullscreen via the app.window api or webkitRequestFullScreen() quits immersive fullscreen.
BUG= 307622
R=oshima,benwells
TBR=sky (For adding VIEWS_EXPORT to ui/views/widget/widget_observer.h)
TEST=Manual, see steps below:
1) Install: https://chrome.google.com/webstore/detail/window-state-sample/hcbhfbnaaancmblfhdknlnojpafjohbi
2) Enable "Enable immersive fullscreen for non browser windows" in chrome://flags
3) Hit <F4>
4) Ensure that the "isFullscreen" checkbox in the app is checked
5) Ensure that the shelf light bar is visible (The shelf is not completely hidden)
6) Hover the mouse at the top of the screen. Ensure that the window header (maximize and close button slide down and overlay the web contents)
7) Move the mouse off of the header. Ensure that the window header slides off screen
8) Press the Fullscreen button in the app (It may be useful to set the "chrome.app.window actions delay" to zero seconds)
9) Ensure that the shelf is completely hidden.
10) Hover the mouse at the top of the screen. Ensure that the header slides out again.
11) Press <F4>
12) Ensure that the "isFullscreen" checkbox is unchecked
13) Ensure that the window header is visible and does not slide out
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235861
Total comments: 22
Total comments: 12
Total comments: 1
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+541 lines, -117 lines) |
Patch |
 |
M |
apps/shell_window.h
|
View
|
1
2
3
4
5
|
3 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
 |
M |
apps/shell_window.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+22 lines, -16 lines |
0 comments
|
Download
|
 |
M |
apps/ui/native_app_window.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/ash_switches.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/ash_switches.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/caption_buttons/frame_caption_button_container_view.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/caption_buttons/frame_caption_button_container_view.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/caption_buttons/frame_maximize_button.h
|
View
|
|
5 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/caption_buttons/frame_maximize_button.cc
|
View
|
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/wm/caption_buttons/frame_maximize_button_observer.h
|
View
|
1
2
3
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/caption_buttons/maximize_bubble_controller.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/custom_frame_view_ash.h
|
View
|
1
2
3
4
|
4 chunks |
+21 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/wm/custom_frame_view_ash.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+280 lines, -55 lines |
0 comments
|
Download
|
 |
M |
ash/wm/immersive_fullscreen_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/immersive_fullscreen_controller_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/window_state_delegate.h
|
View
|
1
2
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/about_flags.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/apps/native_app_window_gtk.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/apps/native_app_window_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/apps/native_app_window_views.h
|
View
|
1
2
3
4
5
|
3 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/apps/native_app_window_views.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+72 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_deletion_observer.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 31 (0 generated)
|