|
Have ExtensionHost use TabContents instead of RenderViewHost. Try #2.
The first landing broke popups on the Mac. Specifically, the auto-resizing of TabContents interfered with how ExtensionViewMac tried to resize itself, causing an infinite feedback loop. Also, we need to defer updating the size of the container until the ExtensionHost is loaded so that we don't display an empty window.
BUG= 84146
TEST=extensions still work
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110262
Total comments: 1
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+315 lines, -727 lines) |
Patch |
 |
M |
chrome/browser/extensions/browser_action_apitest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_browsertest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_browsertests_misc.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_host.h
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+33 lines, -112 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
21 chunks |
+69 lines, -362 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_host_mac.h
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_host_mac.mm
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_process_manager.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_webkit_preferences.h
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_webkit_preferences.cc
|
View
|
|
2 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_webnavigation_api.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents_view_mac.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/task_manager/task_manager.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/task_manager/task_manager_resource_providers.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/extension_view_mac.h
|
View
|
1
2
3
4
5
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/extension_view_mac.mm
|
View
|
1
2
3
4
5
|
5 chunks |
+35 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/extensions/extension_view_gtk.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/extensions/extension_view_gtk.cc
|
View
|
|
4 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/extension_dialog.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/extension_popup.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/extension_popup.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/extension_view.h
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/extension_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -47 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/tab_contents.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+88 lines, -87 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/tab_contents.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/tab_contents_observer.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/tab_contents_observer.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|