Changeset 63317 in webkit
- Timestamp:
- Jul 14, 2010 7:22:49 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r63316 r63317 1 2010-07-14 Hans Wennborg <hans@chromium.org> 2 3 Reviewed by Steve Block. 4 5 Rename DeviceOrientationController::onOrientationChange to didChangeDeviceOrientation 6 https://bugs.webkit.org/show_bug.cgi?id=42257 7 8 According to convention, we should avoid "on" in favor of "did" in function names. 9 10 * dom/DeviceOrientationController.cpp: 11 (WebCore::DeviceOrientationController::didChangeDeviceOrientation): 12 * dom/DeviceOrientationController.h: 13 1 14 2010-07-14 Lucas De Marchi <lucas.demarchi@profusion.mobi> 2 15 -
trunk/WebCore/dom/DeviceOrientationController.cpp
r63312 r63317 77 77 } 78 78 79 void DeviceOrientationController:: onDeviceOrientationChange(DeviceOrientation* orientation)79 void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientation* orientation) 80 80 { 81 81 RefPtr<DeviceOrientationEvent> event = DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation); -
trunk/WebCore/dom/DeviceOrientationController.h
r63312 r63317 44 44 void removeAllListeners(DOMWindow*); 45 45 46 void onDeviceOrientationChange(DeviceOrientation*);46 void didChangeDeviceOrientation(DeviceOrientation*); 47 47 48 48 private:
Note: See TracChangeset
for help on using the changeset viewer.