|
HTML titlebars for v2 apps.
All shell windows are now frameless windows, and the FRAME_CHROME option will be removed presently.
In the case that the developer specifies {frame:'chrome'} (or no frame: option at all) to the chrome.app.window.create function, we inject a standard titlebar and controls into the shadow root of the <html> element when the document is created. This is so that the titlebar can be rendered immediately, without waiting for the onload event, which could be delivered long after the window is shown.
TBR=jhawkins@chromium.org
BUG= 144902
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154904
Total comments: 14
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+142 lines, -25 lines) |
Patch |
|
M |
chrome/browser/extensions/api/app_window/app_window_api.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/extensions/shell_window.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/chrome_render_view_observer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/app_window_custom_bindings.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/app_window_custom_bindings.cc
|
View
|
1
2
3
|
3 chunks |
+41 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/chrome_v8_context.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/dispatcher.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/module_system.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/module_system.cc
|
View
|
1
2
3
4
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/renderer_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/app_window_custom_bindings.js
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
A |
chrome/renderer/resources/extensions/inject_app_titlebar.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/platform_app.css
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/platform_apps/windows_api/test.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
Total messages: 32 (0 generated)
|