OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [ |
| 6 Exposed=Worker&Window&ServiceWorker |
| 7 ] interface TestExposedInterface { |
| 8 void alwaysExposedMethod(); |
| 9 [Exposed=Worker] void workerExposedMethod(); |
| 10 [Exposed=Window] void windowExposedMethod(); |
| 11 |
| 12 static void alwaysExposedStaticMethod(); |
| 13 [Exposed=Worker] static void workerExposedStaticMethod(); |
| 14 [Exposed=Window] static void windowExposedStaticMethod(); |
| 15 |
| 16 attribute long alwaysExposedAttribute; |
| 17 [Exposed=Worker] attribute long workerExposedAttribute; |
| 18 [Exposed=Window] attribute long windowExposedAttribute; |
| 19 |
| 20 [Exposed=Window&ServiceWorker] void windowAndServiceWorkerExposedMethod(); |
| 21 }; |
OLD | NEW |