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

Unified Diff: third_party/WebCore/page/DOMSecurityPolicy.idl

Issue 10837033: Roll IDL to multivm@733 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebCore/page/DOMSecurityPolicy.idl
diff --git a/third_party/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl b/third_party/WebCore/page/DOMSecurityPolicy.idl
similarity index 65%
copy from third_party/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl
copy to third_party/WebCore/page/DOMSecurityPolicy.idl
index 320c6030eb3176267d4b5c39e74599b685e09cb0..fce11b2ee4123230a219126081e3f66d881c6cae 100644
--- a/third_party/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl
+++ b/third_party/WebCore/page/DOMSecurityPolicy.idl
@@ -22,12 +22,30 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-module events {
+module core {
interface [
- Conditional=MEDIA_STREAM,
- ] MediaStreamTrackEvent : Event {
- readonly attribute MediaStreamTrack track;
+ Conditional=CSP_NEXT,
+ OmitConstructor,
+ InterfaceName=SecurityPolicy
+ ] DOMSecurityPolicy {
+ readonly attribute DOMStringList reportURIs;
+
+ boolean isActive();
+
+ boolean allowsConnectionTo(in DOMString url);
+ boolean allowsFontFrom(in DOMString url);
+ boolean allowsFrameFrom(in DOMString url);
+ boolean allowsImageFrom(in DOMString url);
+ boolean allowsMediaFrom(in DOMString url);
+ boolean allowsObjectFrom(in DOMString url);
+ boolean allowsScriptFrom(in DOMString url);
+ boolean allowsStyleFrom(in DOMString url);
+
+ boolean allowsEval();
+ boolean allowsInlineScript();
+ boolean allowsInlineStyle();
};
}
+
« no previous file with comments | « third_party/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl ('k') | third_party/WebCore/page/DOMWindow.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698