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

Side by Side Diff: Source/core/events/TouchEvent.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/ScopedEventQueue.cpp ('k') | Source/core/events/TouchEvent.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 2008, The Android Open Source Project 2 * Copyright 2008, The Android Open Source Project
3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. 3 * Copyright (C) 2012 Research In Motion Limited. 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 PassRefPtrWillBeRawPtr<AbstractView>, 79 PassRefPtrWillBeRawPtr<AbstractView>,
80 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancela ble); 80 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancela ble);
81 81
82 RefPtrWillBeMember<TouchList> m_touches; 82 RefPtrWillBeMember<TouchList> m_touches;
83 RefPtrWillBeMember<TouchList> m_targetTouches; 83 RefPtrWillBeMember<TouchList> m_targetTouches;
84 RefPtrWillBeMember<TouchList> m_changedTouches; 84 RefPtrWillBeMember<TouchList> m_changedTouches;
85 }; 85 };
86 86
87 class TouchEventDispatchMediator FINAL : public EventDispatchMediator { 87 class TouchEventDispatchMediator FINAL : public EventDispatchMediator {
88 public: 88 public:
89 static PassRefPtr<TouchEventDispatchMediator> create(PassRefPtrWillBeRawPtr< TouchEvent>); 89 static PassRefPtrWillBeRawPtr<TouchEventDispatchMediator> create(PassRefPtrW illBeRawPtr<TouchEvent>);
90 90
91 private: 91 private:
92 explicit TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<TouchEvent>); 92 explicit TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<TouchEvent>);
93 TouchEvent* event() const; 93 TouchEvent* event() const;
94 virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE; 94 virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
95 }; 95 };
96 96
97 DEFINE_EVENT_TYPE_CASTS(TouchEvent); 97 DEFINE_EVENT_TYPE_CASTS(TouchEvent);
98 98
99 } // namespace WebCore 99 } // namespace WebCore
100 100
101 #endif // TouchEvent_h 101 #endif // TouchEvent_h
OLDNEW
« no previous file with comments | « Source/core/events/ScopedEventQueue.cpp ('k') | Source/core/events/TouchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698