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