|
Simplify how Content*Client interfaces are created. Instead of depending on the embedder to know when to create and set them and to handle special cases like zygote/single-process, directly ask the embedder to create an instance of a specific type. Also, if the embedder doesn't return an instance create the empty version.
Remove MockContentRendererClient since it existed before ContentRendererClient had an implementation and has no need anymore. Rename MockContentBrowserClient to TestContentBrowserClient to better reflect how it's used.
BUG= 98716
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140524
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+261 lines, -666 lines) |
Patch |
 |
M |
ash/shell/content_client/shell_main_delegate.h
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
ash/shell/content_client/shell_main_delegate.cc
|
View
|
|
3 chunks |
+3 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_main_delegate.h
|
View
|
|
2 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_main_delegate.cc
|
View
|
|
5 chunks |
+20 lines, -32 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/chrome_render_view_test.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/chrome_test_suite.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/in_process_browser_test.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome_frame/test/net/fake_external_tab.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/app/content_main_runner.cc
|
View
|
1
|
21 chunks |
+82 lines, -38 lines |
0 comments
|
Download
|
 |
M |
content/browser/child_process_security_policy_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/debugger/devtools_manager_unittest.cc
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
D |
content/browser/mock_content_browser_client.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
content/browser/mock_content_browser_client.cc
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
View
|
|
5 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/site_instance_impl_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/render_view_host_manager_unittest.cc
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/content_shell.gypi
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/DEPS
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
content/public/app/DEPS
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/app/content_main_delegate.h
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/app/content_main_delegate.cc
|
View
|
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/content_browser_client.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_client.h
|
View
|
1
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/plugin/content_plugin_client.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/test/test_content_client_initializer.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
content/renderer/mock_content_renderer_client.h
|
View
|
|
1 chunk |
+0 lines, -88 lines |
0 comments
|
Download
|
 |
D |
content/renderer/mock_content_renderer_client.cc
|
View
|
|
1 chunk |
+0 lines, -145 lines |
0 comments
|
Download
|
 |
D |
content/shell/shell_content_plugin_client.h
|
View
|
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
D |
content/shell/shell_content_plugin_client.cc
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
D |
content/shell/shell_content_utility_client.h
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
D |
content/shell/shell_content_utility_client.cc
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/shell/shell_main_delegate.h
|
View
|
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/shell/shell_main_delegate.cc
|
View
|
|
4 chunks |
+12 lines, -36 lines |
1 comment
|
Download
|
 |
M |
content/test/content_test_suite.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/render_view_fake_resources_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/test/render_view_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
content/test/test_content_browser_client.h
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
content/test/test_content_browser_client.cc
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/test/test_content_client_initializer.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/test/webrtc_audio_device_test.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/test/webrtc_audio_device_test.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/examples/content_client/examples_main_delegate.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/views/examples/content_client/examples_main_delegate.cc
|
View
|
|
3 chunks |
+4 lines, -28 lines |
0 comments
|
Download
|
Total messages: 4 (1 generated)
|