OLD | NEW |
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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 // Informs the renderer that mixed content was found externally regarding this | 193 // Informs the renderer that mixed content was found externally regarding this |
194 // frame. Currently only the the browser process can do so. The included data | 194 // frame. Currently only the the browser process can do so. The included data |
195 // is used for instance to report to the CSP policy and to log to the frame | 195 // is used for instance to report to the CSP policy and to log to the frame |
196 // console. | 196 // console. |
197 virtual void mixedContentFound(const WebURL& mainResourceUrl, | 197 virtual void mixedContentFound(const WebURL& mainResourceUrl, |
198 const WebURL& mixedContentUrl, | 198 const WebURL& mixedContentUrl, |
199 WebURLRequest::RequestContext, | 199 WebURLRequest::RequestContext, |
200 bool wasAllowed, | 200 bool wasAllowed, |
201 bool hadRedirect) = 0; | 201 bool hadRedirect) = 0; |
202 | 202 |
| 203 // PlzNavigate |
| 204 // Informs the frame that the navigation it asked the client to do was |
| 205 // dropped. |
| 206 virtual void clientDroppedNavigation() = 0; |
| 207 |
203 // Orientation Changes ---------------------------------------------------- | 208 // Orientation Changes ---------------------------------------------------- |
204 | 209 |
205 // Notify the frame that the screen orientation has changed. | 210 // Notify the frame that the screen orientation has changed. |
206 virtual void sendOrientationChangeEvent() = 0; | 211 virtual void sendOrientationChangeEvent() = 0; |
207 | 212 |
208 // Printing ------------------------------------------------------------ | 213 // Printing ------------------------------------------------------------ |
209 | 214 |
210 // Returns true on success and sets the out parameter to the print preset | 215 // Returns true on success and sets the out parameter to the print preset |
211 // options for the document. | 216 // options for the document. |
212 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, | 217 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 // to call these on a WebLocalFrame. | 537 // to call these on a WebLocalFrame. |
533 bool isWebLocalFrame() const override = 0; | 538 bool isWebLocalFrame() const override = 0; |
534 WebLocalFrame* toWebLocalFrame() override = 0; | 539 WebLocalFrame* toWebLocalFrame() override = 0; |
535 bool isWebRemoteFrame() const override = 0; | 540 bool isWebRemoteFrame() const override = 0; |
536 WebRemoteFrame* toWebRemoteFrame() override = 0; | 541 WebRemoteFrame* toWebRemoteFrame() override = 0; |
537 }; | 542 }; |
538 | 543 |
539 } // namespace blink | 544 } // namespace blink |
540 | 545 |
541 #endif // WebLocalFrame_h | 546 #endif // WebLocalFrame_h |
OLD | NEW |