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 "WebFrame.h" | 8 #include "WebFrame.h" |
9 #include "WebFrameLoadType.h" | 9 #include "WebFrameLoadType.h" |
10 | 10 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // Image reload ----------------------------------------------------------- | 152 // Image reload ----------------------------------------------------------- |
153 | 153 |
154 // If the provided node is an image, reload the image bypassing the cache. | 154 // If the provided node is an image, reload the image bypassing the cache. |
155 virtual void reloadImage(const WebNode&) = 0; | 155 virtual void reloadImage(const WebNode&) = 0; |
156 | 156 |
157 // Testing ---------------------------------------------------------------- | 157 // Testing ---------------------------------------------------------------- |
158 | 158 |
159 // Registers a test interface factory. Takes ownership of the factory. | 159 // Registers a test interface factory. Takes ownership of the factory. |
160 virtual void registerTestInterface(const WebString& name, WebTestInterfaceFa
ctory*) = 0; | 160 virtual void registerTestInterface(const WebString& name, WebTestInterfaceFa
ctory*) = 0; |
161 | 161 |
| 162 // Iframe sandbox --------------------------------------------------------- |
| 163 |
| 164 // Returns the effective sandbox flags which are inherited from their parent
frame. |
| 165 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; |
| 166 |
162 protected: | 167 protected: |
163 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } | 168 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } |
164 }; | 169 }; |
165 | 170 |
166 } // namespace blink | 171 } // namespace blink |
167 | 172 |
168 #endif // WebLocalFrame_h | 173 #endif // WebLocalFrame_h |
169 | |
OLD | NEW |