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

Unified Diff: Source/modules/cachestorage/CompositorWorkerCacheStorage.idl

Issue 1193793003: bindings: Makes almost all attributes accessor-type properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 5 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
« no previous file with comments | « Source/core/html/HTMLDocument.idl ('k') | Source/modules/cachestorage/DedicatedWorkerCacheStorage.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/cachestorage/CompositorWorkerCacheStorage.idl
diff --git a/Source/modules/cachestorage/WindowCacheStorage.idl b/Source/modules/cachestorage/CompositorWorkerCacheStorage.idl
similarity index 51%
copy from Source/modules/cachestorage/WindowCacheStorage.idl
copy to Source/modules/cachestorage/CompositorWorkerCacheStorage.idl
index 7aadd81083018b278d1624eabf483d4e11ce9e59..0a892fc848cc3a8b0d66a9e14a9f1eb6ddcb646d 100644
--- a/Source/modules/cachestorage/WindowCacheStorage.idl
+++ b/Source/modules/cachestorage/CompositorWorkerCacheStorage.idl
@@ -6,6 +6,12 @@
[
RuntimeEnabled=GlobalCacheStorage,
ImplementedAs=GlobalCacheStorage,
-] partial interface Window {
+] partial interface CompositorWorkerGlobalScope {
+ // Inheritance of [Unforgeable] attributes is not supported. So we have to
+ // define the same unforgeable attributes in derived interfaces as well.
+ // See that {,Dedicated,Shared,Compositor,Service}WorkerGlobalScope redefine
+ // 'caches' attribute.
+ // Keep all the definitions consistent.
+ // TODO(yukishiino): Support inheritance of attributes defined on instance.
[Unforgeable, MeasureAs=GlobalCacheStorage, RuntimeEnabled=GlobalCacheStorage, RaisesException] readonly attribute CacheStorage caches;
};
« no previous file with comments | « Source/core/html/HTMLDocument.idl ('k') | Source/modules/cachestorage/DedicatedWorkerCacheStorage.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698