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
|
+}; |