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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 private: | 58 private: |
59 explicit DeviceOrientationController(Document&); | 59 explicit DeviceOrientationController(Document&); |
60 virtual void registerWithDispatcher() OVERRIDE; | 60 virtual void registerWithDispatcher() OVERRIDE; |
61 virtual void unregisterWithDispatcher() OVERRIDE; | 61 virtual void unregisterWithDispatcher() OVERRIDE; |
62 | 62 |
63 DeviceOrientationData* lastData(); | 63 DeviceOrientationData* lastData(); |
64 virtual bool hasLastData() OVERRIDE; | 64 virtual bool hasLastData() OVERRIDE; |
65 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE; | 65 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE; |
66 virtual bool isNullEvent(Event*) OVERRIDE; | 66 virtual bool isNullEvent(Event*) OVERRIDE; |
| 67 virtual Document* document() OVERRIDE; |
67 | 68 |
68 RefPtrWillBePersistent<DeviceOrientationData> m_overrideOrientationData; | 69 RefPtrWillBePersistent<DeviceOrientationData> m_overrideOrientationData; |
| 70 Document& m_document; |
69 }; | 71 }; |
70 | 72 |
71 } // namespace WebCore | 73 } // namespace WebCore |
72 | 74 |
73 #endif // DeviceOrientationController_h | 75 #endif // DeviceOrientationController_h |
OLD | NEW |