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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate() OVERRIDE; | 78 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate() OVERRIDE; |
79 | 79 |
80 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 80 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
81 virtual void GetAdditionalMappedFilesForChildProcess( | 81 virtual void GetAdditionalMappedFilesForChildProcess( |
82 const base::CommandLine& command_line, | 82 const base::CommandLine& command_line, |
83 int child_process_id, | 83 int child_process_id, |
84 std::vector<FileDescriptorInfo>* mappings) OVERRIDE; | 84 FileDescriptorInfo* mappings) OVERRIDE; |
85 #endif | 85 #endif |
86 #if defined(OS_WIN) | 86 #if defined(OS_WIN) |
87 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 87 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
88 bool* success) OVERRIDE; | 88 bool* success) OVERRIDE; |
89 #endif | 89 #endif |
90 | 90 |
91 ShellBrowserContext* browser_context(); | 91 ShellBrowserContext* browser_context(); |
92 ShellBrowserContext* off_the_record_browser_context(); | 92 ShellBrowserContext* off_the_record_browser_context(); |
93 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 93 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
94 return resource_dispatcher_host_delegate_.get(); | 94 return resource_dispatcher_host_delegate_.get(); |
(...skipping 12 matching lines...) Expand all Loading... |
107 resource_dispatcher_host_delegate_; | 107 resource_dispatcher_host_delegate_; |
108 | 108 |
109 base::FilePath webkit_source_dir_; | 109 base::FilePath webkit_source_dir_; |
110 | 110 |
111 ShellBrowserMainParts* shell_browser_main_parts_; | 111 ShellBrowserMainParts* shell_browser_main_parts_; |
112 }; | 112 }; |
113 | 113 |
114 } // namespace content | 114 } // namespace content |
115 | 115 |
116 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 116 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |