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

Side by Side Diff: third_party/WebKit/Source/core/events/TouchEvent.h

Issue 1479923002: Enumerate the return value of dispatchEvent so it is clear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma_add
Patch Set: Fix typo Created 4 years, 9 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
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool m_causesScrollingIfUncanceled; 101 bool m_causesScrollingIfUncanceled;
102 }; 102 };
103 103
104 class TouchEventDispatchMediator final : public EventDispatchMediator { 104 class TouchEventDispatchMediator final : public EventDispatchMediator {
105 public: 105 public:
106 static PassRefPtrWillBeRawPtr<TouchEventDispatchMediator> create(PassRefPtrW illBeRawPtr<TouchEvent>); 106 static PassRefPtrWillBeRawPtr<TouchEventDispatchMediator> create(PassRefPtrW illBeRawPtr<TouchEvent>);
107 107
108 private: 108 private:
109 explicit TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<TouchEvent>); 109 explicit TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<TouchEvent>);
110 TouchEvent& event() const; 110 TouchEvent& event() const;
111 bool dispatchEvent(EventDispatcher&) const override; 111 DispatchEventResult dispatchEvent(EventDispatcher&) const override;
112 }; 112 };
113 113
114 DEFINE_EVENT_TYPE_CASTS(TouchEvent); 114 DEFINE_EVENT_TYPE_CASTS(TouchEvent);
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif // TouchEvent_h 118 #endif // TouchEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEvent.cpp ('k') | third_party/WebKit/Source/core/events/TouchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698