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