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

Side by Side Diff: Source/core/testing/Internals.idl

Issue 730203007: CSP: Permit exempting schemes only for certain policy areas. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 [RaisesException] void setDeviceScaleFactor(float scaleFactor); 195 [RaisesException] void setDeviceScaleFactor(float scaleFactor);
196 196
197 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d ocument, boolean isVisible); 197 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d ocument, boolean isVisible);
198 198
199 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); 199 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement);
200 double effectiveMediaVolume(HTMLMediaElement mediaElement); 200 double effectiveMediaVolume(HTMLMediaElement mediaElement);
201 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement , boolean available); 201 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement , boolean available);
202 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea n remote); 202 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea n remote);
203 203
204 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); 204 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme);
205 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme, seq uence<DOMString> policyAreas);
205 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme); 206 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme);
206 207
207 TypeConversions typeConversions(); 208 TypeConversions typeConversions();
208 209
209 // This is enabled only in Debug builds. 210 // This is enabled only in Debug builds.
210 // This is because we want to avoid putting the byte stream of testing priva te scripts 211 // This is because we want to avoid putting the byte stream of testing priva te scripts
211 // into the binary of Release builds. 212 // into the binary of Release builds.
212 PrivateScriptTest privateScriptTest(); 213 PrivateScriptTest privateScriptTest();
213 214
214 DOMString[] getReferencedFilePaths(); 215 DOMString[] getReferencedFilePaths();
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 ClientRectList getTransitionElementRects(); 288 ClientRectList getTransitionElementRects();
288 void hideAllTransitionElements(); 289 void hideAllTransitionElements();
289 void showAllTransitionElements(); 290 void showAllTransitionElements();
290 291
291 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, DocumentFragment fragment); 292 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, DocumentFragment fragment);
292 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, PluginPlaceholderOptions options); 293 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, PluginPlaceholderOptions options);
293 294
294 DictionaryTest dictionaryTest(); 295 DictionaryTest dictionaryTest();
295 UnionTypesTest unionTypesTest(); 296 UnionTypesTest unionTypesTest();
296 }; 297 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698