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

Side by Side Diff: Source/bindings/tests/idls/TestExposedInterface.idl

Issue 424163002: Enable the WebIDL [Exposed] annotation on an interface's members. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove some noise Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
Jens Widell 2014/07/29 18:24:29 We typically prefer to not add additional files he
Inactive 2014/07/29 18:54:47 Note that the new spec says this should be: Expose
Peter Beverloo 2014/07/30 14:48:15 I don't mind updating the syntax, but not as part
Peter Beverloo 2014/07/30 14:48:15 Ack. I'll split it up later, as I'd like to keep a
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();
Peter Beverloo 2014/07/29 17:40:26 Note: We need some way to recognize that "ServiceW
21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698