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

Side by Side Diff: third_party/WebKit/public/web/WebInputEvent.h

Issue 1403893003: Plumb gesture source value through Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert more tests (related to CL) to use Touchscreen. Created 5 years, 2 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
« no previous file with comments | « third_party/WebKit/public/platform/WebGestureDevice.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 float scale; 539 float scale;
540 } pinchUpdate; 540 } pinchUpdate;
541 } data; 541 } data;
542 542
543 WebGestureEvent() 543 WebGestureEvent()
544 : WebInputEvent(sizeof(WebGestureEvent)) 544 : WebInputEvent(sizeof(WebGestureEvent))
545 , x(0) 545 , x(0)
546 , y(0) 546 , y(0)
547 , globalX(0) 547 , globalX(0)
548 , globalY(0) 548 , globalY(0)
549 , sourceDevice(WebGestureDeviceUninitialized)
549 , resendingPluginId(-1) 550 , resendingPluginId(-1)
550 { 551 {
551 memset(&data, 0, sizeof(data)); 552 memset(&data, 0, sizeof(data));
552 } 553 }
553 }; 554 };
554 555
555 // WebTouchEvent -------------------------------------------------------------- 556 // WebTouchEvent --------------------------------------------------------------
556 557
557 // TODO(e_hakkinen): Replace with WebPointerEvent. crbug.com/508283 558 // TODO(e_hakkinen): Replace with WebPointerEvent. crbug.com/508283
558 class WebTouchEvent : public WebInputEvent { 559 class WebTouchEvent : public WebInputEvent {
(...skipping 28 matching lines...) Expand all
587 , uniqueTouchEventId(0) 588 , uniqueTouchEventId(0)
588 { 589 {
589 } 590 }
590 }; 591 };
591 592
592 #pragma pack(pop) 593 #pragma pack(pop)
593 594
594 } // namespace blink 595 } // namespace blink
595 596
596 #endif 597 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebGestureDevice.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698