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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebCompositionUnderline.h" 8 #include "WebCompositionUnderline.h"
9 #include "WebFrame.h" 9 #include "WebFrame.h"
10 #include "WebFrameLoadType.h" 10 #include "WebFrameLoadType.h"
11 #include "WebHistoryItem.h" 11 #include "WebHistoryItem.h"
12 #include "public/platform/WebCachePolicy.h" 12 #include "public/platform/WebCachePolicy.h"
13 #include "public/platform/WebURLError.h" 13 #include "public/platform/WebURLError.h"
14 #include "public/platform/site_engagement.mojom-shared.h" 14 #include "public/platform/site_engagement.mojom-shared.h"
15 #include <set>
15 16
16 namespace base { 17 namespace base {
17 class SingleThreadTaskRunner; 18 class SingleThreadTaskRunner;
18 } 19 }
19 20
20 namespace blink { 21 namespace blink {
21 22
22 class WebAutofillClient; 23 class WebAutofillClient;
23 class WebContentSettingsClient; 24 class WebContentSettingsClient;
24 class WebDevToolsAgent; 25 class WebDevToolsAgent;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 150
150 // Override the normal rules for whether a load has successfully committed 151 // Override the normal rules for whether a load has successfully committed
151 // in this frame. Used to propagate state when this frame has navigated 152 // in this frame. Used to propagate state when this frame has navigated
152 // cross process. 153 // cross process.
153 virtual void setCommittedFirstRealLoad() = 0; 154 virtual void setCommittedFirstRealLoad() = 0;
154 155
155 // Mark this frame's document as having received a user gesture, based on 156 // Mark this frame's document as having received a user gesture, based on
156 // one of its descendants having processed a user gesture. 157 // one of its descendants having processed a user gesture.
157 virtual void setHasReceivedUserGesture() = 0; 158 virtual void setHasReceivedUserGesture() = 0;
158 159
160 // Updates the frame with information gathered from mixed content checks
161 // executed on the browser.
162 virtual void mixedContentUpdateFromBrowser(const std::set<int>& features,
163 bool mixedContentWasFound,
164 const WebURL& mixedContentUrl,
165 bool mixedContentHadRedirect) = 0;
166
159 // Orientation Changes ---------------------------------------------------- 167 // Orientation Changes ----------------------------------------------------
160 168
161 // Notify the frame that the screen orientation has changed. 169 // Notify the frame that the screen orientation has changed.
162 virtual void sendOrientationChangeEvent() = 0; 170 virtual void sendOrientationChangeEvent() = 0;
163 171
164 // Printing ------------------------------------------------------------ 172 // Printing ------------------------------------------------------------
165 173
166 // Returns true on success and sets the out parameter to the print preset 174 // Returns true on success and sets the out parameter to the print preset
167 // options for the document. 175 // options for the document.
168 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, 176 virtual bool getPrintPresetOptionsForPlugin(const WebNode&,
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 // to call these on a WebLocalFrame. 470 // to call these on a WebLocalFrame.
463 bool isWebLocalFrame() const override = 0; 471 bool isWebLocalFrame() const override = 0;
464 WebLocalFrame* toWebLocalFrame() override = 0; 472 WebLocalFrame* toWebLocalFrame() override = 0;
465 bool isWebRemoteFrame() const override = 0; 473 bool isWebRemoteFrame() const override = 0;
466 WebRemoteFrame* toWebRemoteFrame() override = 0; 474 WebRemoteFrame* toWebRemoteFrame() override = 0;
467 }; 475 };
468 476
469 } // namespace blink 477 } // namespace blink
470 478
471 #endif // WebLocalFrame_h 479 #endif // WebLocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698