Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1276)

Side by Side Diff: Source/core/events/WheelEvent.h

Issue 333623002: Oilpan: Prepare to move EventDispatchMediator to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/events/TouchEvent.cpp ('k') | Source/core/events/WheelEvent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/events/TouchEvent.cpp ('k') | Source/core/events/WheelEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698