OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // Basic properties --------------------------------------------------- | 119 // Basic properties --------------------------------------------------- |
120 | 120 |
121 // The name of this frame. If no name is given, empty string is returned. | 121 // The name of this frame. If no name is given, empty string is returned. |
122 virtual WebString AssignedName() const = 0; | 122 virtual WebString AssignedName() const = 0; |
123 | 123 |
124 // Sets the name of this frame. For child frames (frames that are not a | 124 // Sets the name of this frame. For child frames (frames that are not a |
125 // top-most frame) the actual name may have a suffix appended to make the | 125 // top-most frame) the actual name may have a suffix appended to make the |
126 // frame name unique within the hierarchy. | 126 // frame name unique within the hierarchy. |
127 virtual void SetName(const WebString&) = 0; | 127 virtual void SetName(const WebString&) = 0; |
128 | 128 |
129 // The urls of the given combination types of favicon (if any) specified by | |
130 // the document loaded in this frame. The iconTypesMask is a bit-mask of | |
131 // WebIconURL::Type values, used to select from the available set of icon | |
132 // URLs | |
133 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0; | |
134 | |
135 // The security origin of this frame. | 129 // The security origin of this frame. |
136 BLINK_EXPORT WebSecurityOrigin GetSecurityOrigin() const; | 130 BLINK_EXPORT WebSecurityOrigin GetSecurityOrigin() const; |
137 | 131 |
138 // Updates the snapshotted policy attributes (sandbox flags and feature policy | 132 // Updates the snapshotted policy attributes (sandbox flags and feature policy |
139 // container policy) in the frame's FrameOwner. This is used when this frame's | 133 // container policy) in the frame's FrameOwner. This is used when this frame's |
140 // parent is in another process and it dynamically updates this frame's | 134 // parent is in another process and it dynamically updates this frame's |
141 // sandbox flags or container policy. The new policy won't take effect until | 135 // sandbox flags or container policy. The new policy won't take effect until |
142 // the next navigation. | 136 // the next navigation. |
143 BLINK_EXPORT void SetFrameOwnerPolicy(WebSandboxFlags, | 137 BLINK_EXPORT void SetFrameOwnerPolicy(WebSandboxFlags, |
144 const blink::WebParsedFeaturePolicy&); | 138 const blink::WebParsedFeaturePolicy&); |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 WebFrame* first_child_; | 433 WebFrame* first_child_; |
440 WebFrame* last_child_; | 434 WebFrame* last_child_; |
441 | 435 |
442 WebFrame* opener_; | 436 WebFrame* opener_; |
443 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; | 437 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; |
444 }; | 438 }; |
445 | 439 |
446 } // namespace blink | 440 } // namespace blink |
447 | 441 |
448 #endif | 442 #endif |
OLD | NEW |