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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 explicit DeviceMotionController(Document&); | 51 explicit DeviceMotionController(Document&); |
52 virtual void registerWithDispatcher() OVERRIDE; | 52 virtual void registerWithDispatcher() OVERRIDE; |
53 virtual void unregisterWithDispatcher() OVERRIDE; | 53 virtual void unregisterWithDispatcher() OVERRIDE; |
54 | 54 |
55 // Inherited from DOMWindowLifecycleObserver. | 55 // Inherited from DOMWindowLifecycleObserver. |
56 virtual void didAddEventListener(DOMWindow*, const AtomicString&) OVERRIDE; | 56 virtual void didAddEventListener(DOMWindow*, const AtomicString&) OVERRIDE; |
57 virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRID
E; | 57 virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRID
E; |
58 virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE; | 58 virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE; |
59 | 59 |
60 virtual bool hasLastData() OVERRIDE; | 60 virtual bool hasLastData() OVERRIDE; |
61 virtual PassRefPtr<Event> getLastEvent() OVERRIDE; | 61 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE; |
62 virtual bool isNullEvent(Event*) OVERRIDE; | 62 virtual bool isNullEvent(Event*) OVERRIDE; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace WebCore | 65 } // namespace WebCore |
66 | 66 |
67 #endif // DeviceMotionController_h | 67 #endif // DeviceMotionController_h |
OLD | NEW |