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