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

Side by Side Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp

Issue 2387263004: Manually remove many instances of a comma quirk arising from the reformat. (Closed)
Patch Set: merge with master; thakis nit Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. 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 20 matching lines...) Expand all
31 31
32 namespace blink { 32 namespace blink {
33 33
34 DeviceMotionEvent::~DeviceMotionEvent() {} 34 DeviceMotionEvent::~DeviceMotionEvent() {}
35 35
36 DeviceMotionEvent::DeviceMotionEvent() 36 DeviceMotionEvent::DeviceMotionEvent()
37 : m_deviceMotionData(DeviceMotionData::create()) {} 37 : m_deviceMotionData(DeviceMotionData::create()) {}
38 38
39 DeviceMotionEvent::DeviceMotionEvent(const AtomicString& eventType, 39 DeviceMotionEvent::DeviceMotionEvent(const AtomicString& eventType,
40 DeviceMotionData* deviceMotionData) 40 DeviceMotionData* deviceMotionData)
41 : Event(eventType, false, false) // Can't bubble, not cancelable 41 : Event(eventType, false, false), // Can't bubble, not cancelable
42 ,
43 m_deviceMotionData(deviceMotionData) {} 42 m_deviceMotionData(deviceMotionData) {}
44 43
45 void DeviceMotionEvent::initDeviceMotionEvent( 44 void DeviceMotionEvent::initDeviceMotionEvent(
46 const AtomicString& type, 45 const AtomicString& type,
47 bool bubbles, 46 bool bubbles,
48 bool cancelable, 47 bool cancelable,
49 DeviceMotionData* deviceMotionData) { 48 DeviceMotionData* deviceMotionData) {
50 if (isBeingDispatched()) 49 if (isBeingDispatched())
51 return; 50 return;
52 51
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 104
106 DEFINE_TRACE(DeviceMotionEvent) { 105 DEFINE_TRACE(DeviceMotionEvent) {
107 visitor->trace(m_deviceMotionData); 106 visitor->trace(m_deviceMotionData);
108 visitor->trace(m_acceleration); 107 visitor->trace(m_acceleration);
109 visitor->trace(m_accelerationIncludingGravity); 108 visitor->trace(m_accelerationIncludingGravity);
110 visitor->trace(m_rotationRate); 109 visitor->trace(m_rotationRate);
111 Event::trace(visitor); 110 Event::trace(visitor);
112 } 111 }
113 112
114 } // namespace blink 113 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698