OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 content::BrowserContext* browser_context, | 259 content::BrowserContext* browser_context, |
260 const GURL& url) override; | 260 const GURL& url) override; |
261 void OverridePageVisibilityState( | 261 void OverridePageVisibilityState( |
262 content::RenderFrameHost* render_frame_host, | 262 content::RenderFrameHost* render_frame_host, |
263 blink::WebPageVisibilityState* visibility_state) override; | 263 blink::WebPageVisibilityState* visibility_state) override; |
264 | 264 |
265 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 265 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
266 void GetAdditionalMappedFilesForChildProcess( | 266 void GetAdditionalMappedFilesForChildProcess( |
267 const base::CommandLine& command_line, | 267 const base::CommandLine& command_line, |
268 int child_process_id, | 268 int child_process_id, |
269 content::FileDescriptorInfo* mappings) override; | 269 content::PosixFileDescriptorInfo* mappings) override; |
270 #endif // defined(OS_POSIX) && !defined(OS_MACOSX) | 270 #endif // defined(OS_POSIX) && !defined(OS_MACOSX) |
271 #if defined(OS_WIN) | 271 #if defined(OS_WIN) |
272 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 272 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
273 base::string16 GetAppContainerSidForSandboxType( | 273 base::string16 GetAppContainerSidForSandboxType( |
274 int sandbox_type) const override; | 274 int sandbox_type) const override; |
275 #endif | 275 #endif |
276 void ExposeInterfacesToRenderer( | 276 void ExposeInterfacesToRenderer( |
277 service_manager::BinderRegistry* registry, | 277 service_manager::BinderRegistry* registry, |
278 content::AssociatedInterfaceRegistry* associated_registry, | 278 content::AssociatedInterfaceRegistry* associated_registry, |
279 content::RenderProcessHost* render_process_host) override; | 279 content::RenderProcessHost* render_process_host) override; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 std::unique_ptr< | 396 std::unique_ptr< |
397 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> | 397 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> |
398 frame_interfaces_parameterized_; | 398 frame_interfaces_parameterized_; |
399 | 399 |
400 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 400 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
401 | 401 |
402 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 402 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
403 }; | 403 }; |
404 | 404 |
405 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 405 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |