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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
219 // frame. Currently only the the browser process can do so. The included data | 219 // frame. Currently only the the browser process can do so. The included data |
220 // is used for instance to report to the CSP policy and to log to the frame | 220 // is used for instance to report to the CSP policy and to log to the frame |
221 // console. | 221 // console. |
222 virtual void MixedContentFound(const WebURL& main_resource_url, | 222 virtual void MixedContentFound(const WebURL& main_resource_url, |
223 const WebURL& mixed_content_url, | 223 const WebURL& mixed_content_url, |
224 WebURLRequest::RequestContext, | 224 WebURLRequest::RequestContext, |
225 bool was_allowed, | 225 bool was_allowed, |
226 bool had_redirect, | 226 bool had_redirect, |
227 const WebSourceLocation&) = 0; | 227 const WebSourceLocation&) = 0; |
228 | 228 |
229 // The urls of the given combination types of favicon (if any) specified by | |
dcheng
2017/06/02 16:28:16
Originally, this was located under the "Basic Prop
Łukasz Anforowicz
2017/06/05 22:38:46
Done.
| |
230 // the document loaded in this frame. The iconTypesMask is a bit-mask of | |
231 // WebIconURL::Type values, used to select from the available set of icon | |
232 // URLs | |
233 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0; | |
234 | |
229 // Orientation Changes ---------------------------------------------------- | 235 // Orientation Changes ---------------------------------------------------- |
230 | 236 |
231 // Notify the frame that the screen orientation has changed. | 237 // Notify the frame that the screen orientation has changed. |
232 virtual void SendOrientationChangeEvent() = 0; | 238 virtual void SendOrientationChangeEvent() = 0; |
233 | 239 |
234 // Printing ------------------------------------------------------------ | 240 // Printing ------------------------------------------------------------ |
235 | 241 |
236 // Returns true on success and sets the out parameter to the print preset | 242 // Returns true on success and sets the out parameter to the print preset |
237 // options for the document. | 243 // options for the document. |
238 virtual bool GetPrintPresetOptionsForPlugin(const WebNode&, | 244 virtual bool GetPrintPresetOptionsForPlugin(const WebNode&, |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
576 // to call these on a WebLocalFrame. | 582 // to call these on a WebLocalFrame. |
577 bool IsWebLocalFrame() const override = 0; | 583 bool IsWebLocalFrame() const override = 0; |
578 WebLocalFrame* ToWebLocalFrame() override = 0; | 584 WebLocalFrame* ToWebLocalFrame() override = 0; |
579 bool IsWebRemoteFrame() const override = 0; | 585 bool IsWebRemoteFrame() const override = 0; |
580 WebRemoteFrame* ToWebRemoteFrame() override = 0; | 586 WebRemoteFrame* ToWebRemoteFrame() override = 0; |
581 }; | 587 }; |
582 | 588 |
583 } // namespace blink | 589 } // namespace blink |
584 | 590 |
585 #endif // WebLocalFrame_h | 591 #endif // WebLocalFrame_h |
OLD | NEW |