| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 Apple Inc. All rights reserved. | 2 * Copyright 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 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 copyright | 10 * * Redistributions in binary form must reproduce the above copyright |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 void didChangeDeviceMotion(DeviceMotionData*); | 46 void didChangeDeviceMotion(DeviceMotionData*); |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 explicit DeviceMotionController(Document*); | 49 explicit DeviceMotionController(Document*); |
| 50 virtual void registerWithDispatcher() OVERRIDE; | 50 virtual void registerWithDispatcher() OVERRIDE; |
| 51 virtual void unregisterWithDispatcher() OVERRIDE; | 51 virtual void unregisterWithDispatcher() OVERRIDE; |
| 52 | 52 |
| 53 virtual bool hasLastData() OVERRIDE; | 53 virtual bool hasLastData() OVERRIDE; |
| 54 virtual PassRefPtr<Event> getLastEvent() OVERRIDE; | 54 virtual PassRefPtr<Event> getLastEvent() OVERRIDE; |
| 55 virtual bool isNullEvent(Event*) OVERRIDE; |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace WebCore | 58 } // namespace WebCore |
| 58 | 59 |
| 59 #endif // DeviceMotionController_h | 60 #endif // DeviceMotionController_h |
| OLD | NEW |