| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 GetSpeechRecognitionManagerDelegate() OVERRIDE; | 73 GetSpeechRecognitionManagerDelegate() OVERRIDE; |
| 74 virtual net::NetLog* GetNetLog() OVERRIDE; | 74 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 75 virtual bool ShouldSwapProcessesForRedirect(ResourceContext* resource_context, | 75 virtual bool ShouldSwapProcessesForRedirect(ResourceContext* resource_context, |
| 76 const GURL& current_url, | 76 const GURL& current_url, |
| 77 const GURL& new_url) OVERRIDE; | 77 const GURL& new_url) OVERRIDE; |
| 78 | 78 |
| 79 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 79 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 80 virtual void GetAdditionalMappedFilesForChildProcess( | 80 virtual void GetAdditionalMappedFilesForChildProcess( |
| 81 const base::CommandLine& command_line, | 81 const base::CommandLine& command_line, |
| 82 int child_process_id, | 82 int child_process_id, |
| 83 std::vector<FileDescriptorInfo>* mappings) OVERRIDE; | 83 FileDescriptorInfo* mappings) OVERRIDE; |
| 84 #endif | 84 #endif |
| 85 #if defined(OS_WIN) | 85 #if defined(OS_WIN) |
| 86 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 86 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
| 87 bool* success) OVERRIDE; | 87 bool* success) OVERRIDE; |
| 88 #endif | 88 #endif |
| 89 | 89 |
| 90 ShellBrowserContext* browser_context(); | 90 ShellBrowserContext* browser_context(); |
| 91 ShellBrowserContext* off_the_record_browser_context(); | 91 ShellBrowserContext* off_the_record_browser_context(); |
| 92 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 92 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
| 93 return resource_dispatcher_host_delegate_.get(); | 93 return resource_dispatcher_host_delegate_.get(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 106 resource_dispatcher_host_delegate_; | 106 resource_dispatcher_host_delegate_; |
| 107 | 107 |
| 108 base::FilePath webkit_source_dir_; | 108 base::FilePath webkit_source_dir_; |
| 109 | 109 |
| 110 ShellBrowserMainParts* shell_browser_main_parts_; | 110 ShellBrowserMainParts* shell_browser_main_parts_; |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace content | 113 } // namespace content |
| 114 | 114 |
| 115 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 115 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |