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

Side by Side Diff: content/browser/web_contents/web_contents_impl.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: Overall code cleanup to request reviewers to PTAL. Created 4 years, 5 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 bool CheckMediaAccessPermission(const GURL& security_origin, 530 bool CheckMediaAccessPermission(const GURL& security_origin,
531 MediaStreamType type) override; 531 MediaStreamType type) override;
532 SessionStorageNamespace* GetSessionStorageNamespace( 532 SessionStorageNamespace* GetSessionStorageNamespace(
533 SiteInstance* instance) override; 533 SiteInstance* instance) override;
534 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; 534 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override;
535 FrameTree* GetFrameTree() override; 535 FrameTree* GetFrameTree() override;
536 void SetIsVirtualKeyboardRequested(bool requested) override; 536 void SetIsVirtualKeyboardRequested(bool requested) override;
537 bool IsVirtualKeyboardRequested() override; 537 bool IsVirtualKeyboardRequested() override;
538 bool IsOverridingUserAgent() override; 538 bool IsOverridingUserAgent() override;
539 double GetPendingPageZoomLevel() override; 539 double GetPendingPageZoomLevel() override;
540 void DidDisplayInsecureContent() override;
541 void DidRunInsecureContent(const GURL& security_origin,
542 const GURL& target_url) override;
540 543
541 // NavigatorDelegate --------------------------------------------------------- 544 // NavigatorDelegate ---------------------------------------------------------
542 545
543 void DidStartNavigation(NavigationHandle* navigation_handle) override; 546 void DidStartNavigation(NavigationHandle* navigation_handle) override;
544 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; 547 void DidRedirectNavigation(NavigationHandle* navigation_handle) override;
545 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; 548 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
546 void DidFinishNavigation(NavigationHandle* navigation_handle) override; 549 void DidFinishNavigation(NavigationHandle* navigation_handle) override;
547 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 550 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
548 const GURL& validated_url, 551 const GURL& validated_url,
549 bool is_error_page, 552 bool is_error_page,
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 // Adds/removes a callback called on creation of each new WebContents. 1434 // Adds/removes a callback called on creation of each new WebContents.
1432 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1435 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1433 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1436 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1434 1437
1435 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1438 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1436 }; 1439 };
1437 1440
1438 } // namespace content 1441 } // namespace content
1439 1442
1440 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1443 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698