| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 content::TracingDelegate* GetTracingDelegate() override; | 257 content::TracingDelegate* GetTracingDelegate() override; |
| 258 bool IsPluginAllowedToCallRequestOSFileHandle( | 258 bool IsPluginAllowedToCallRequestOSFileHandle( |
| 259 content::BrowserContext* browser_context, | 259 content::BrowserContext* browser_context, |
| 260 const GURL& url) override; | 260 const GURL& url) override; |
| 261 bool IsPluginAllowedToUseDevChannelAPIs( | 261 bool IsPluginAllowedToUseDevChannelAPIs( |
| 262 content::BrowserContext* browser_context, | 262 content::BrowserContext* browser_context, |
| 263 const GURL& url) override; | 263 const GURL& url) override; |
| 264 void OverridePageVisibilityState( | 264 void OverridePageVisibilityState( |
| 265 content::RenderFrameHost* render_frame_host, | 265 content::RenderFrameHost* render_frame_host, |
| 266 blink::WebPageVisibilityState* visibility_state) override; | 266 blink::WebPageVisibilityState* visibility_state) override; |
| 267 void PassiveInsecureContentFound(const GURL& resource_url) override; |
| 268 bool ShouldAllowRunningInsecureContent( |
| 269 bool allowed_per_settings, |
| 270 const url::Origin& origin, |
| 271 const GURL& resource_url, |
| 272 content::WebContents* web_contents) override; |
| 267 | 273 |
| 268 #if defined(OS_ANDROID) | 274 #if defined(OS_ANDROID) |
| 269 void GetAdditionalMappedFilesForChildProcess( | 275 void GetAdditionalMappedFilesForChildProcess( |
| 270 const base::CommandLine& command_line, | 276 const base::CommandLine& command_line, |
| 271 int child_process_id, | 277 int child_process_id, |
| 272 content::FileDescriptorInfo* mappings, | 278 content::FileDescriptorInfo* mappings, |
| 273 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 279 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
| 274 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 280 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
| 275 void GetAdditionalMappedFilesForChildProcess( | 281 void GetAdditionalMappedFilesForChildProcess( |
| 276 const base::CommandLine& command_line, | 282 const base::CommandLine& command_line, |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // Vector of additional ChromeContentBrowserClientParts. | 385 // Vector of additional ChromeContentBrowserClientParts. |
| 380 // Parts are deleted in the reverse order they are added. | 386 // Parts are deleted in the reverse order they are added. |
| 381 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 387 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 382 | 388 |
| 383 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 389 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 384 | 390 |
| 385 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 391 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 386 }; | 392 }; |
| 387 | 393 |
| 388 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 394 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |