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

Side by Side Diff: third_party/WebKit/Source/core/events/TouchEvent.idl

Issue 1536733002: Deprecate initTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 12 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
OLDNEW
1 /* 1 /*
2 * Copyright 2008, The Android Open Source Project 2 * Copyright 2008, The Android Open Source Project
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 Constructor(DOMString type, optional TouchEventInit eventInitDict), 29 Constructor(DOMString type, optional TouchEventInit eventInitDict),
30 ] interface TouchEvent : UIEvent { 30 ] interface TouchEvent : UIEvent {
31 readonly attribute TouchList touches; 31 readonly attribute TouchList touches;
32 readonly attribute TouchList targetTouches; 32 readonly attribute TouchList targetTouches;
33 readonly attribute TouchList changedTouches; 33 readonly attribute TouchList changedTouches;
34 readonly attribute boolean altKey; 34 readonly attribute boolean altKey;
35 readonly attribute boolean metaKey; 35 readonly attribute boolean metaKey;
36 readonly attribute boolean ctrlKey; 36 readonly attribute boolean ctrlKey;
37 readonly attribute boolean shiftKey; 37 readonly attribute boolean shiftKey;
38 38
39 // FIXME: initTouchEvent() is not standardized. http://crbug.com/518868 39 [CallWith=ScriptState, DeprecateAs=V8TouchEvent_InitTouchEvent_Method, Legac yInterfaceTypeChecking] void initTouchEvent([Default=Undefined] optional TouchLi st touches,
40 [CallWith=ScriptState, Measure, LegacyInterfaceTypeChecking] void initTouchE vent([Default=Undefined] optional TouchList touches, 40 [Default=Undefined] optional TouchLi st targetTouches,
41 [Default=Undefined] optional TouchList targetTouches, 41 [Default=Undefined] optional TouchLi st changedTouches,
42 [Default=Undefined] optional TouchList changedTouches, 42 [Default=Undefined] optional DOMStri ng type,
43 [Default=Undefined] optional DOMString type, 43 [Default=Undefined] optional Window? view,
44 [Default=Undefined] optional Window? view, 44 [Default=Undefined] optional long un used1,
45 [Default=Undefined] optional long unused1, 45 [Default=Undefined] optional long un used2,
46 [Default=Undefined] optional long unused2, 46 [Default=Undefined] optional long un used3,
47 [Default=Undefined] optional long unused3, 47 [Default=Undefined] optional long un used4,
48 [Default=Undefined] optional long unused4, 48 [Default=Undefined] optional boolean ctrlKey,
49 [Default=Undefined] optional boolean ctrlKey, 49 [Default=Undefined] optional boolean altKey,
50 [Default=Undefined] optional boolean altKey, 50 [Default=Undefined] optional boolean shiftKey,
51 [Default=Undefined] optional boolean shiftKey, 51 [Default=Undefined] optional boolean metaKey);
52 [Default=Undefined] optional boolean metaKey);
53 }; 52 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698