mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1677012 - Give MultiTouchInput a move constructor. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D96959
This commit is contained in:
parent
8bead54135
commit
ec6ef9110f
@ -222,8 +222,13 @@ class MultiTouchInput : public InputData {
|
||||
MultiTouchInput(MultiTouchType aType, uint32_t aTime, TimeStamp aTimeStamp,
|
||||
Modifiers aModifiers);
|
||||
MultiTouchInput();
|
||||
MultiTouchInput(MultiTouchInput&&) = default;
|
||||
MultiTouchInput(const MultiTouchInput& aOther);
|
||||
explicit MultiTouchInput(const WidgetTouchEvent& aTouchEvent);
|
||||
|
||||
MultiTouchInput& operator=(MultiTouchInput&&) = default;
|
||||
MultiTouchInput& operator=(const MultiTouchInput&) = default;
|
||||
|
||||
void Translate(const ScreenPoint& aTranslation);
|
||||
|
||||
WidgetTouchEvent ToWidgetTouchEvent(nsIWidget* aWidget) const;
|
||||
|
Loading…
Reference in New Issue
Block a user