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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const OpenURLParams& params, | 71 const OpenURLParams& params, |
72 const base::Callback<void(WebContents*)>& callback) override; | 72 const base::Callback<void(WebContents*)>& callback) override; |
73 | 73 |
74 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 74 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
75 void GetAdditionalMappedFilesForChildProcess( | 75 void GetAdditionalMappedFilesForChildProcess( |
76 const base::CommandLine& command_line, | 76 const base::CommandLine& command_line, |
77 int child_process_id, | 77 int child_process_id, |
78 FileDescriptorInfo* mappings) override; | 78 FileDescriptorInfo* mappings) override; |
79 #endif | 79 #endif |
80 #if defined(OS_WIN) | 80 #if defined(OS_WIN) |
81 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 81 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
82 bool* success) override; | |
83 #endif | 82 #endif |
84 | 83 |
85 ShellBrowserContext* browser_context(); | 84 ShellBrowserContext* browser_context(); |
86 ShellBrowserContext* off_the_record_browser_context(); | 85 ShellBrowserContext* off_the_record_browser_context(); |
87 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 86 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
88 return resource_dispatcher_host_delegate_.get(); | 87 return resource_dispatcher_host_delegate_.get(); |
89 } | 88 } |
90 ShellBrowserMainParts* shell_browser_main_parts() { | 89 ShellBrowserMainParts* shell_browser_main_parts() { |
91 return shell_browser_main_parts_; | 90 return shell_browser_main_parts_; |
92 } | 91 } |
(...skipping 17 matching lines...) Expand all Loading... |
110 #endif | 109 #endif |
111 | 110 |
112 base::Closure select_client_certificate_callback_; | 111 base::Closure select_client_certificate_callback_; |
113 | 112 |
114 ShellBrowserMainParts* shell_browser_main_parts_; | 113 ShellBrowserMainParts* shell_browser_main_parts_; |
115 }; | 114 }; |
116 | 115 |
117 } // namespace content | 116 } // namespace content |
118 | 117 |
119 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 118 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |