| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, | 68 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, |
| 69 const GURL& site_url) { | 69 const GURL& site_url) { |
| 70 return true; | 70 return true; |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( | 73 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( |
| 74 BrowserContext* browser_context, const GURL& url) { | 74 BrowserContext* browser_context, const GURL& url) { |
| 75 return false; | 75 return false; |
| 76 } | 76 } |
| 77 | 77 |
| 78 bool ContentBrowserClient::ShouldSwapProcessesForNavigation( | 78 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation( |
| 79 SiteInstance* site_instance, | 79 SiteInstance* site_instance, |
| 80 const GURL& current_url, | 80 const GURL& current_url, |
| 81 const GURL& new_url) { | 81 const GURL& new_url) { |
| 82 return false; | 82 return false; |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( | 85 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( |
| 86 ResourceContext* resource_context, const GURL& current_url, | 86 ResourceContext* resource_context, const GURL& current_url, |
| 87 const GURL& new_url) { | 87 const GURL& new_url) { |
| 88 return false; | 88 return false; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 } | 305 } |
| 306 #endif | 306 #endif |
| 307 | 307 |
| 308 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( | 308 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( |
| 309 content::BrowserContext* browser_context, | 309 content::BrowserContext* browser_context, |
| 310 const GURL& url) { | 310 const GURL& url) { |
| 311 return false; | 311 return false; |
| 312 } | 312 } |
| 313 | 313 |
| 314 } // namespace content | 314 } // namespace content |
| OLD | NEW |