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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Created 3 years, 9 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 <set> 8 #include <set>
9 #include "WebCompositionUnderline.h" 9 #include "WebCompositionUnderline.h"
10 #include "WebFrame.h" 10 #include "WebFrame.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // Informs the renderer that mixed content was found externally regarding this 187 // Informs the renderer that mixed content was found externally regarding this
188 // frame. Currently only the the browser process can do so. The included data 188 // frame. Currently only the the browser process can do so. The included data
189 // is used for instance to report to the CSP policy and to log to the frame 189 // is used for instance to report to the CSP policy and to log to the frame
190 // console. 190 // console.
191 virtual void mixedContentFound(const WebURL& mainResourceUrl, 191 virtual void mixedContentFound(const WebURL& mainResourceUrl,
192 const WebURL& mixedContentUrl, 192 const WebURL& mixedContentUrl,
193 WebURLRequest::RequestContext, 193 WebURLRequest::RequestContext,
194 bool wasAllowed, 194 bool wasAllowed,
195 bool hadRedirect) = 0; 195 bool hadRedirect) = 0;
196 196
197 // PlzNavigate
198 // Informs the frame that the navigation it asked the client to do was
199 // dropped.
200 virtual void clientDroppedNavigation() = 0;
201
197 // Orientation Changes ---------------------------------------------------- 202 // Orientation Changes ----------------------------------------------------
198 203
199 // Notify the frame that the screen orientation has changed. 204 // Notify the frame that the screen orientation has changed.
200 virtual void sendOrientationChangeEvent() = 0; 205 virtual void sendOrientationChangeEvent() = 0;
201 206
202 // Printing ------------------------------------------------------------ 207 // Printing ------------------------------------------------------------
203 208
204 // Returns true on success and sets the out parameter to the print preset 209 // Returns true on success and sets the out parameter to the print preset
205 // options for the document. 210 // options for the document.
206 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, 211 virtual bool getPrintPresetOptionsForPlugin(const WebNode&,
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 // to call these on a WebLocalFrame. 521 // to call these on a WebLocalFrame.
517 bool isWebLocalFrame() const override = 0; 522 bool isWebLocalFrame() const override = 0;
518 WebLocalFrame* toWebLocalFrame() override = 0; 523 WebLocalFrame* toWebLocalFrame() override = 0;
519 bool isWebRemoteFrame() const override = 0; 524 bool isWebRemoteFrame() const override = 0;
520 WebRemoteFrame* toWebRemoteFrame() override = 0; 525 WebRemoteFrame* toWebRemoteFrame() override = 0;
521 }; 526 };
522 527
523 } // namespace blink 528 } // namespace blink
524 529
525 #endif // WebLocalFrame_h 530 #endif // WebLocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698