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

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: Rebase after 3 spin off CLs landed. Created 3 years, 12 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 SessionStorageNamespace* GetSessionStorageNamespace( 548 SessionStorageNamespace* GetSessionStorageNamespace(
549 SiteInstance* instance) override; 549 SiteInstance* instance) override;
550 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; 550 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override;
551 double GetPendingPageZoomLevel() override; 551 double GetPendingPageZoomLevel() override;
552 FrameTree* GetFrameTree() override; 552 FrameTree* GetFrameTree() override;
553 void SetIsVirtualKeyboardRequested(bool requested) override; 553 void SetIsVirtualKeyboardRequested(bool requested) override;
554 bool IsVirtualKeyboardRequested() override; 554 bool IsVirtualKeyboardRequested() override;
555 bool IsOverridingUserAgent() override; 555 bool IsOverridingUserAgent() override;
556 bool IsJavaScriptDialogShowing() const override; 556 bool IsJavaScriptDialogShowing() const override;
557 bool HideDownloadUI() const override; 557 bool HideDownloadUI() const override;
558 void DidDisplayInsecureContent() override;
559 void DidRunInsecureContent(const GURL& security_origin,
560 const GURL& target_url) override;
558 561
559 // NavigatorDelegate --------------------------------------------------------- 562 // NavigatorDelegate ---------------------------------------------------------
560 563
561 void DidStartNavigation(NavigationHandle* navigation_handle) override; 564 void DidStartNavigation(NavigationHandle* navigation_handle) override;
562 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; 565 void DidRedirectNavigation(NavigationHandle* navigation_handle) override;
563 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; 566 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
564 void DidFinishNavigation(NavigationHandle* navigation_handle) override; 567 void DidFinishNavigation(NavigationHandle* navigation_handle) override;
565 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 568 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
566 const GURL& validated_url, 569 const GURL& validated_url,
567 bool is_error_page) override; 570 bool is_error_page) override;
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 // Adds/removes a callback called on creation of each new WebContents. 1512 // Adds/removes a callback called on creation of each new WebContents.
1510 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1513 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1511 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1514 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1512 1515
1513 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1516 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1514 }; 1517 };
1515 1518
1516 } // namespace content 1519 } // namespace content
1517 1520
1518 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1521 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698