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

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: MixedContent::ContextType comes from the renderer; lessen Blink public code; fixed build. 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698