| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRID
E; | 53 virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRID
E; |
| 54 virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE; | 54 virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE; |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 explicit DeviceOrientationController(Document&); | 57 explicit DeviceOrientationController(Document&); |
| 58 virtual void registerWithDispatcher() OVERRIDE; | 58 virtual void registerWithDispatcher() OVERRIDE; |
| 59 virtual void unregisterWithDispatcher() OVERRIDE; | 59 virtual void unregisterWithDispatcher() OVERRIDE; |
| 60 | 60 |
| 61 DeviceOrientationData* lastData(); | 61 DeviceOrientationData* lastData(); |
| 62 virtual bool hasLastData() OVERRIDE; | 62 virtual bool hasLastData() OVERRIDE; |
| 63 virtual PassRefPtr<Event> getLastEvent() OVERRIDE; | 63 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE; |
| 64 virtual bool isNullEvent(Event*) OVERRIDE; | 64 virtual bool isNullEvent(Event*) OVERRIDE; |
| 65 | 65 |
| 66 RefPtrWillBePersistent<DeviceOrientationData> m_overrideOrientationData; | 66 RefPtrWillBePersistent<DeviceOrientationData> m_overrideOrientationData; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace WebCore | 69 } // namespace WebCore |
| 70 | 70 |
| 71 #endif // DeviceOrientationController_h | 71 #endif // DeviceOrientationController_h |
| OLD | NEW |