| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 content::TracingDelegate* GetTracingDelegate() override; | 250 content::TracingDelegate* GetTracingDelegate() override; |
| 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 void PassiveInsecureContentFound(const GURL& resource_url) override; |
| 261 bool ShouldAllowRunningInsecureContent( |
| 262 bool allowed_per_settings, |
| 263 const url::Origin& origin, |
| 264 const GURL& resource_url, |
| 265 content::WebContents* web_contents) override; |
| 260 | 266 |
| 261 #if defined(OS_ANDROID) | 267 #if defined(OS_ANDROID) |
| 262 void GetAdditionalMappedFilesForChildProcess( | 268 void GetAdditionalMappedFilesForChildProcess( |
| 263 const base::CommandLine& command_line, | 269 const base::CommandLine& command_line, |
| 264 int child_process_id, | 270 int child_process_id, |
| 265 content::FileDescriptorInfo* mappings, | 271 content::FileDescriptorInfo* mappings, |
| 266 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 272 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
| 267 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 273 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
| 268 void GetAdditionalMappedFilesForChildProcess( | 274 void GetAdditionalMappedFilesForChildProcess( |
| 269 const base::CommandLine& command_line, | 275 const base::CommandLine& command_line, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 // Vector of additional ChromeContentBrowserClientParts. | 374 // Vector of additional ChromeContentBrowserClientParts. |
| 369 // Parts are deleted in the reverse order they are added. | 375 // Parts are deleted in the reverse order they are added. |
| 370 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 376 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 371 | 377 |
| 372 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 378 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 373 | 379 |
| 374 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 380 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 375 }; | 381 }; |
| 376 | 382 |
| 377 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 383 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |