| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 void ShellContentBrowserClient::ClearCookies(RenderViewHost* rvh) { | 267 void ShellContentBrowserClient::ClearCookies(RenderViewHost* rvh) { |
| 268 } | 268 } |
| 269 | 269 |
| 270 FilePath ShellContentBrowserClient::GetDefaultDownloadDirectory() { | 270 FilePath ShellContentBrowserClient::GetDefaultDownloadDirectory() { |
| 271 return FilePath(); | 271 return FilePath(); |
| 272 } | 272 } |
| 273 | 273 |
| 274 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 274 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 275 int ShellContentBrowserClient::GetCrashSignalFD( | 275 int ShellContentBrowserClient::GetCrashSignalFD( |
| 276 const std::string& process_type) { | 276 const CommandLine& command_line) { |
| 277 return -1; | 277 return -1; |
| 278 } | 278 } |
| 279 #endif | 279 #endif |
| 280 | 280 |
| 281 #if defined(OS_WIN) | 281 #if defined(OS_WIN) |
| 282 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { | 282 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { |
| 283 return NULL; | 283 return NULL; |
| 284 } | 284 } |
| 285 #endif | 285 #endif |
| 286 | 286 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 300 tab_contents_view->tab_contents()->browser_context(), | 300 tab_contents_view->tab_contents()->browser_context(), |
| 301 GURL(), | 301 GURL(), |
| 302 tab_contents_view->tab_contents()->GetSiteInstance(), | 302 tab_contents_view->tab_contents()->GetSiteInstance(), |
| 303 route_id, | 303 route_id, |
| 304 tab_contents_view->tab_contents()); | 304 tab_contents_view->tab_contents()); |
| 305 return shell->tab_contents(); | 305 return shell->tab_contents(); |
| 306 } | 306 } |
| 307 #endif | 307 #endif |
| 308 | 308 |
| 309 } // namespace content | 309 } // namespace content |
| OLD | NEW |