| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } | 105 } |
| 106 | 106 |
| 107 void ShellContentBrowserClient::AppendExtraCommandLineSwitches( | 107 void ShellContentBrowserClient::AppendExtraCommandLineSwitches( |
| 108 CommandLine* command_line, int child_process_id) { | 108 CommandLine* command_line, int child_process_id) { |
| 109 } | 109 } |
| 110 | 110 |
| 111 std::string ShellContentBrowserClient::GetApplicationLocale() { | 111 std::string ShellContentBrowserClient::GetApplicationLocale() { |
| 112 return std::string(); | 112 return std::string(); |
| 113 } | 113 } |
| 114 | 114 |
| 115 std::string ShellContentBrowserClient::GetAcceptLangs(const TabContents* tab) { | 115 std::string ShellContentBrowserClient::GetAcceptLangs( |
| 116 const content::BrowserContext* context) { |
| 116 return std::string(); | 117 return std::string(); |
| 117 } | 118 } |
| 118 | 119 |
| 119 SkBitmap* ShellContentBrowserClient::GetDefaultFavicon() { | 120 SkBitmap* ShellContentBrowserClient::GetDefaultFavicon() { |
| 120 static SkBitmap empty; | 121 static SkBitmap empty; |
| 121 return ∅ | 122 return ∅ |
| 122 } | 123 } |
| 123 | 124 |
| 124 bool ShellContentBrowserClient::AllowAppCache( | 125 bool ShellContentBrowserClient::AllowAppCache( |
| 125 const GURL& manifest_url, | 126 const GURL& manifest_url, |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 tab_contents_view->tab_contents()->browser_context(), | 322 tab_contents_view->tab_contents()->browser_context(), |
| 322 GURL(), | 323 GURL(), |
| 323 tab_contents_view->tab_contents()->GetSiteInstance(), | 324 tab_contents_view->tab_contents()->GetSiteInstance(), |
| 324 route_id, | 325 route_id, |
| 325 tab_contents_view->tab_contents()); | 326 tab_contents_view->tab_contents()); |
| 326 return shell->tab_contents(); | 327 return shell->tab_contents(); |
| 327 } | 328 } |
| 328 #endif | 329 #endif |
| 329 | 330 |
| 330 } // namespace content | 331 } // namespace content |
| OLD | NEW |