| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 bool ShellContentBrowserClient::ShouldUseProcessPerSite( | 76 bool ShellContentBrowserClient::ShouldUseProcessPerSite( |
| 77 BrowserContext* browser_context, const GURL& effective_url) { | 77 BrowserContext* browser_context, const GURL& effective_url) { |
| 78 return false; | 78 return false; |
| 79 } | 79 } |
| 80 | 80 |
| 81 bool ShellContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { | 81 bool ShellContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { |
| 82 return false; | 82 return false; |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool ShellContentBrowserClient::IsHandledURL(const GURL& url) { |
| 86 return false; |
| 87 } |
| 88 |
| 85 bool ShellContentBrowserClient::IsSuitableHost( | 89 bool ShellContentBrowserClient::IsSuitableHost( |
| 86 RenderProcessHost* process_host, | 90 RenderProcessHost* process_host, |
| 87 const GURL& site_url) { | 91 const GURL& site_url) { |
| 88 return true; | 92 return true; |
| 89 } | 93 } |
| 90 | 94 |
| 91 void ShellContentBrowserClient::SiteInstanceGotProcess( | 95 void ShellContentBrowserClient::SiteInstanceGotProcess( |
| 92 SiteInstance* site_instance) { | 96 SiteInstance* site_instance) { |
| 93 } | 97 } |
| 94 | 98 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 tab_contents_view->tab_contents()->browser_context(), | 342 tab_contents_view->tab_contents()->browser_context(), |
| 339 GURL(), | 343 GURL(), |
| 340 tab_contents_view->tab_contents()->GetSiteInstance(), | 344 tab_contents_view->tab_contents()->GetSiteInstance(), |
| 341 route_id, | 345 route_id, |
| 342 tab_contents_view->tab_contents()); | 346 tab_contents_view->tab_contents()); |
| 343 return shell->tab_contents(); | 347 return shell->tab_contents(); |
| 344 } | 348 } |
| 345 #endif | 349 #endif |
| 346 | 350 |
| 347 } // namespace content | 351 } // namespace content |
| OLD | NEW |