|
Adds support for calling postMessage on a frame living in a different renderer.
This requires keeping a frame map in the browser process, which tracks the
relationships between tabs, subframes, and openers. These relationships
don't change as a tab navigates from one process to another.
With this map, the browser can then create "swapped out" RenderViews for
a tab's opener(s). All swapped out RenderViews can then act as proxies to
send and receive postMessages via the browser process.
BUG= 99202
TEST=Use Facebook Connect within a hosted app.
(Revised and committed in http://codereview.chromium.org/9108001/)
Total comments: 51
Total comments: 38
Total comments: 93
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+787 lines, -106 lines) |
Patch |
 |
M |
chrome/browser/extensions/app_process_apitest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents_view_gtk.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents_view_gtk.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents_view_mac.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents_view_mac.mm
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_navigator.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tab_contents/tab_contents_view_views.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_process_policy.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
A |
content/browser/content_frame.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/content_frame.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/frame_map.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/frame_map.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host.h
|
View
|
1
2
3
4
5
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+28 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_delegate.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/interstitial_page.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_controller.h
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_controller.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_entry.h
|
View
|
1
2
3
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_entry.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/render_view_host_manager.h
|
View
|
1
2
|
4 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/render_view_host_manager.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+67 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/tab_contents.h
|
View
|
1
2
3
4
5
|
6 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/tab_contents.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+23 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/test_tab_contents.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/test_tab_contents.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/swapped_out_messages.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/browser_context.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
6
|
8 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
|
18 chunks |
+82 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/test/render_view_fake_resources_test.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/render_view_test.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_tab_contents_view.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_tab_contents_view.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|