Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: public/web/WebLocalFrame.h

Issue 1197383002: Add WebLocalFrame::effectiveSandboxFlags() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698