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

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: 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 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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; 552 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override;
553 double GetPendingPageZoomLevel() override; 553 double GetPendingPageZoomLevel() override;
554 FrameTree* GetFrameTree() override; 554 FrameTree* GetFrameTree() override;
555 void SetIsVirtualKeyboardRequested(bool requested) override; 555 void SetIsVirtualKeyboardRequested(bool requested) override;
556 bool IsVirtualKeyboardRequested() override; 556 bool IsVirtualKeyboardRequested() override;
557 bool IsOverridingUserAgent() override; 557 bool IsOverridingUserAgent() override;
558 bool IsJavaScriptDialogShowing() const override; 558 bool IsJavaScriptDialogShowing() const override;
559 bool HideDownloadUI() const override; 559 bool HideDownloadUI() const override;
560 bool IsFocusedElementEditable() override; 560 bool IsFocusedElementEditable() override;
561 void ClearFocusedElement() override; 561 void ClearFocusedElement() override;
562 void DidDisplayInsecureContent() override;
563 void DidRunInsecureContent(const GURL& security_origin,
564 const GURL& target_url) override;
562 565
563 // NavigatorDelegate --------------------------------------------------------- 566 // NavigatorDelegate ---------------------------------------------------------
564 567
565 void DidStartNavigation(NavigationHandle* navigation_handle) override; 568 void DidStartNavigation(NavigationHandle* navigation_handle) override;
566 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; 569 void DidRedirectNavigation(NavigationHandle* navigation_handle) override;
567 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; 570 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
568 void DidFinishNavigation(NavigationHandle* navigation_handle) override; 571 void DidFinishNavigation(NavigationHandle* navigation_handle) override;
569 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 572 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
570 const GURL& validated_url, 573 const GURL& validated_url,
571 bool is_error_page) override; 574 bool is_error_page) override;
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 // Adds/removes a callback called on creation of each new WebContents. 1519 // Adds/removes a callback called on creation of each new WebContents.
1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1520 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1521 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1519 1522
1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1523 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1521 }; 1524 };
1522 1525
1523 } // namespace content 1526 } // namespace content
1524 1527
1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1528 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698