OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/shell/shell_content_browser_client.h" | 5 #include "content/shell/shell_content_browser_client.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "content/browser/webui/empty_web_ui_factory.h" | 8 #include "content/browser/webui/empty_web_ui_factory.h" |
9 #include "content/shell/shell.h" | 9 #include "content/shell/shell.h" |
10 #include "content/shell/shell_browser_main.h" | 10 #include "content/shell/shell_browser_main.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 return new TabContentsViewWin(tab_contents, this); | 49 return new TabContentsViewWin(tab_contents, this); |
50 #else | 50 #else |
51 return NULL; | 51 return NULL; |
52 #endif | 52 #endif |
53 } | 53 } |
54 | 54 |
55 void ShellContentBrowserClient::RenderViewHostCreated( | 55 void ShellContentBrowserClient::RenderViewHostCreated( |
56 RenderViewHost* render_view_host) { | 56 RenderViewHost* render_view_host) { |
57 } | 57 } |
58 | 58 |
59 void ShellContentBrowserClient::BrowserRenderProcessHostCreated( | 59 void ShellContentBrowserClient::RenderProcessHostCreated( |
60 BrowserRenderProcessHost* host) { | 60 RenderProcessHost* host) { |
61 } | 61 } |
62 | 62 |
63 void ShellContentBrowserClient::PluginProcessHostCreated( | 63 void ShellContentBrowserClient::PluginProcessHostCreated( |
64 PluginProcessHost* host) { | 64 PluginProcessHost* host) { |
65 } | 65 } |
66 | 66 |
67 WebUIFactory* ShellContentBrowserClient::GetWebUIFactory() { | 67 WebUIFactory* ShellContentBrowserClient::GetWebUIFactory() { |
68 // Return an empty factory so callsites don't have to check for NULL. | 68 // Return an empty factory so callsites don't have to check for NULL. |
69 return EmptyWebUIFactory::GetInstance(); | 69 return EmptyWebUIFactory::GetInstance(); |
70 } | 70 } |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 tab_contents_view->tab_contents()->browser_context(), | 342 tab_contents_view->tab_contents()->browser_context(), |
343 GURL(), | 343 GURL(), |
344 tab_contents_view->tab_contents()->GetSiteInstance(), | 344 tab_contents_view->tab_contents()->GetSiteInstance(), |
345 route_id, | 345 route_id, |
346 tab_contents_view->tab_contents()); | 346 tab_contents_view->tab_contents()); |
347 return shell->tab_contents(); | 347 return shell->tab_contents(); |
348 } | 348 } |
349 #endif | 349 #endif |
350 | 350 |
351 } // namespace content | 351 } // namespace content |
OLD | NEW |