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

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

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Rebase Created 4 years 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 (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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 x(0), 402 x(0),
403 y(0), 403 y(0),
404 windowX(0), 404 windowX(0),
405 windowY(0), 405 windowY(0),
406 globalX(0), 406 globalX(0),
407 globalY(0), 407 globalY(0),
408 movementX(0), 408 movementX(0),
409 movementY(0), 409 movementY(0),
410 clickCount(0) {} 410 clickCount(0) {}
411 411
412 #if INSIDE_BLINK
413 BLINK_PLATFORM_EXPORT WebFloatPoint movementInRootFrame() const;
414 BLINK_PLATFORM_EXPORT WebFloatPoint positionInRootFrame() const;
415 #endif
416
412 protected: 417 protected:
413 explicit WebMouseEvent(unsigned sizeParam) 418 explicit WebMouseEvent(unsigned sizeParam)
414 : WebInputEvent(sizeParam), 419 : WebInputEvent(sizeParam),
415 WebPointerProperties(), 420 WebPointerProperties(),
416 x(0), 421 x(0),
417 y(0), 422 y(0),
418 windowX(0), 423 windowX(0),
419 windowY(0), 424 windowY(0),
420 globalX(0), 425 globalX(0),
421 globalY(0), 426 globalY(0),
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 movedBeyondSlopRegion(false), 466 movedBeyondSlopRegion(false),
462 touchStartOrFirstTouchMove(false), 467 touchStartOrFirstTouchMove(false),
463 uniqueTouchEventId(0) {} 468 uniqueTouchEventId(0) {}
464 }; 469 };
465 470
466 #pragma pack(pop) 471 #pragma pack(pop)
467 472
468 } // namespace blink 473 } // namespace blink
469 474
470 #endif 475 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698