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

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: Fix nits 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..e7280f1696c839d5aca8065f5745cb842ed0e1a5 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;
ojan 2013/07/24 03:43:30 extra spaces?
+ [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation, InitializedByEventConstructor] readonly attribute unsigned long keyLocation;
};

Powered by Google App Engine
This is Rietveld 408576698