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

Unified Diff: Source/core/frame/WindowPrivateScript.idl

Issue 516273002: Move plugin placeholder style to CSS, and allow it to bypass main world CSP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase and rewrite Created 6 years, 3 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: Source/core/frame/WindowPrivateScript.idl
diff --git a/Source/core/frame/WindowPrivateScript.idl b/Source/core/frame/WindowPrivateScript.idl
new file mode 100644
index 0000000000000000000000000000000000000000..de2845226f5b12c4b833a853bd08665f28df0a12
--- /dev/null
+++ b/Source/core/frame/WindowPrivateScript.idl
@@ -0,0 +1,12 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Utility methods exposed only to private script.
+[
+ NoInterfaceObject, // Always used as target of 'implements'
+] interface WindowPrivateScript {
+ // FIXME: Get rid of this, and use something more elegant instead.
+ // http://crbug.com/414849
+ [OnlyExposedToPrivateScript] DOMString loadPlatformResource(DOMString name);
haraken 2014/10/04 00:56:20 Will we be able to use this API to load images, ja
jbroman 2014/10/04 03:36:06 Since it returns a string, I don't think it would
haraken 2014/10/05 23:54:39 Yeah, if the loadPlatformResource API doesn't faci
+};

Powered by Google App Engine
This is Rietveld 408576698