Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Addressed all jam@ latest comments. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698