| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
| 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) | 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) |
| 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010 Apple Inc. All rights reserv
ed. |
| 6 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 6 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 double m_deltaY; | 111 double m_deltaY; |
| 112 double m_deltaZ; | 112 double m_deltaZ; |
| 113 unsigned m_deltaMode; | 113 unsigned m_deltaMode; |
| 114 bool m_directionInvertedFromDevice; | 114 bool m_directionInvertedFromDevice; |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 DEFINE_EVENT_TYPE_CASTS(WheelEvent); | 117 DEFINE_EVENT_TYPE_CASTS(WheelEvent); |
| 118 | 118 |
| 119 class WheelEventDispatchMediator FINAL : public EventDispatchMediator { | 119 class WheelEventDispatchMediator FINAL : public EventDispatchMediator { |
| 120 public: | 120 public: |
| 121 static PassRefPtr<WheelEventDispatchMediator> create(const PlatformWheelEven
t&, PassRefPtrWillBeRawPtr<AbstractView>); | 121 static PassRefPtrWillBeRawPtr<WheelEventDispatchMediator> create(const Platf
ormWheelEvent&, PassRefPtrWillBeRawPtr<AbstractView>); |
| 122 private: | 122 private: |
| 123 WheelEventDispatchMediator(const PlatformWheelEvent&, PassRefPtrWillBeRawPtr
<AbstractView>); | 123 WheelEventDispatchMediator(const PlatformWheelEvent&, PassRefPtrWillBeRawPtr
<AbstractView>); |
| 124 WheelEvent* event() const; | 124 WheelEvent* event() const; |
| 125 virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE; | 125 virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE; |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 } // namespace WebCore | 128 } // namespace WebCore |
| 129 | 129 |
| 130 #endif // WheelEvent_h | 130 #endif // WheelEvent_h |
| OLD | NEW |