| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 bool IsPluginAllowedToCallRequestOSFileHandle( | 252 bool IsPluginAllowedToCallRequestOSFileHandle( |
| 253 content::BrowserContext* browser_context, | 253 content::BrowserContext* browser_context, |
| 254 const GURL& url) override; | 254 const GURL& url) override; |
| 255 bool IsPluginAllowedToUseDevChannelAPIs( | 255 bool IsPluginAllowedToUseDevChannelAPIs( |
| 256 content::BrowserContext* browser_context, | 256 content::BrowserContext* browser_context, |
| 257 const GURL& url) override; | 257 const GURL& url) override; |
| 258 void OverridePageVisibilityState( | 258 void OverridePageVisibilityState( |
| 259 content::RenderFrameHost* render_frame_host, | 259 content::RenderFrameHost* render_frame_host, |
| 260 blink::WebPageVisibilityState* visibility_state) override; | 260 blink::WebPageVisibilityState* visibility_state) override; |
| 261 | 261 |
| 262 #if defined(OS_ANDROID) | 262 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 263 void GetAdditionalMappedFilesForChildProcess( | |
| 264 const base::CommandLine& command_line, | |
| 265 int child_process_id, | |
| 266 content::FileDescriptorInfo* mappings, | |
| 267 std::map<int, base::MemoryMappedFile::Region>* regions) override; | |
| 268 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | |
| 269 void GetAdditionalMappedFilesForChildProcess( | 263 void GetAdditionalMappedFilesForChildProcess( |
| 270 const base::CommandLine& command_line, | 264 const base::CommandLine& command_line, |
| 271 int child_process_id, | 265 int child_process_id, |
| 272 content::FileDescriptorInfo* mappings) override; | 266 content::FileDescriptorInfo* mappings) override; |
| 273 #endif // defined(OS_ANDROID) | 267 #endif // defined(OS_POSIX) && !defined(OS_MACOSX) |
| 274 #if defined(OS_WIN) | 268 #if defined(OS_WIN) |
| 275 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 269 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 276 base::string16 GetAppContainerSidForSandboxType( | 270 base::string16 GetAppContainerSidForSandboxType( |
| 277 int sandbox_type) const override; | 271 int sandbox_type) const override; |
| 278 #endif | 272 #endif |
| 279 void ExposeInterfacesToRenderer( | 273 void ExposeInterfacesToRenderer( |
| 280 service_manager::InterfaceRegistry* registry, | 274 service_manager::InterfaceRegistry* registry, |
| 281 content::RenderProcessHost* render_process_host) override; | 275 content::RenderProcessHost* render_process_host) override; |
| 282 void ExposeInterfacesToMediaService( | 276 void ExposeInterfacesToMediaService( |
| 283 service_manager::InterfaceRegistry* registry, | 277 service_manager::InterfaceRegistry* registry, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // Vector of additional ChromeContentBrowserClientParts. | 363 // Vector of additional ChromeContentBrowserClientParts. |
| 370 // Parts are deleted in the reverse order they are added. | 364 // Parts are deleted in the reverse order they are added. |
| 371 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 365 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 372 | 366 |
| 373 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 367 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 374 | 368 |
| 375 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 369 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 376 }; | 370 }; |
| 377 | 371 |
| 378 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 372 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |