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

Unified Diff: Source/bindings/tests/idls/TestExtendedEvent.idl

Issue 20034002: Add support for KeyboardEvent.location attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 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
Index: Source/bindings/tests/idls/TestExtendedEvent.idl
diff --git a/Source/bindings/tests/idls/TestExtendedEvent.idl b/Source/bindings/tests/idls/TestExtendedEvent.idl
index fd30168aa039a98f7898f47ca2d38cb1eed67e33..e41586af203affe7889df779faf7b6a1e2f3eaf1 100644
--- a/Source/bindings/tests/idls/TestExtendedEvent.idl
+++ b/Source/bindings/tests/idls/TestExtendedEvent.idl
@@ -28,7 +28,10 @@
[
Conditional=TEST,
ImplementedAs=Event,
- EnabledAtRuntime=test
+ EnabledAtRuntime=test,
+ ConstructorTemplate=Event
] interface TestExtendedEvent
: TestEvent {
+ [InitializedByEventConstructor] readonly attribute unsigned long location;
+ [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation, InitializedByEventConstructor] readonly attribute unsigned long keyLocation;
};
« no previous file with comments | « Source/bindings/scripts/deprecated_code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestExtendedEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698