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

Unified Diff: Source/core/events/TouchEvent.idl

Issue 982273002: Sync the Touch-related interfaces with the two specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« Source/core/dom/Document.idl ('K') | « Source/core/dom/TouchList.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TouchEvent.idl
diff --git a/Source/core/events/TouchEvent.idl b/Source/core/events/TouchEvent.idl
index 36f0ac54e642045d718217083cb4c65426c62fc1..59010892a784949750b9d32a28158fb0c62aeb70 100644
--- a/Source/core/events/TouchEvent.idl
+++ b/Source/core/events/TouchEvent.idl
@@ -22,15 +22,19 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+// http://www.w3.org/TR/touch-events/#touchevent-interface
+
interface TouchEvent : UIEvent {
readonly attribute TouchList touches;
readonly attribute TouchList targetTouches;
readonly attribute TouchList changedTouches;
- readonly attribute boolean ctrlKey;
- readonly attribute boolean shiftKey;
readonly attribute boolean altKey;
readonly attribute boolean metaKey;
+ readonly attribute boolean ctrlKey;
+ readonly attribute boolean shiftKey;
+ // FIXME: initTouch() is not yet standardized.
void initTouchEvent([Default=Undefined] optional TouchList touches,
[Default=Undefined] optional TouchList targetTouches,
[Default=Undefined] optional TouchList changedTouches,
« Source/core/dom/Document.idl ('K') | « Source/core/dom/TouchList.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698