|
Initial support for web-extent background pages.
This patch adds a new RVH container: BackgroundContents. The idea is that apps can open a live web-page as a "background" page using window.open('<url>', '<name>', 'background');
If 'background' is specified and the opener is within the app's extent, a BackgroundContents will be used. Otherwise, the 'background' feature is ignored and it is treated as a regular popup call.
Note that as of this patch the following are explicitly not-yet addressed:
1) Session storage for BackgroundContents
2) SSL (or other failures) requiring UI
3) Javascript messages (alert, etc...)
4) Session restore
TEST=All tests should pass
BUG= 41275
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46544
Total comments: 8
Total comments: 25
Total comments: 2
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+494 lines, -73 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+18 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_process_manager.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extensions_ui.cc
|
View
|
5
6
7
8
9
10
|
4 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/balloon_host.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/balloon_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_view_host.h
|
View
|
9
10
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_view_host.cc
|
View
|
9
10
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/tab_contents/background_contents.h
|
View
|
1
2
3
4
|
1 chunk |
+126 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/tab_contents/background_contents.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+192 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+30 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+47 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents.cc
|
View
|
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_constants.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/notification_type.h
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages_internal.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/view_types.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/extension_process_bindings.cc
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_view.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_view.cc
|
View
|
9
10
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|