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

Side by Side Diff: Source/core/events/TouchEvent.cpp

Issue 1144313003: Added PointerEvent firing on touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 { 127 {
128 } 128 }
129 129
130 TouchEvent& TouchEventDispatchMediator::event() const 130 TouchEvent& TouchEventDispatchMediator::event() const
131 { 131 {
132 return toTouchEvent(EventDispatchMediator::event()); 132 return toTouchEvent(EventDispatchMediator::event());
133 } 133 }
134 134
135 bool TouchEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) cons t 135 bool TouchEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) cons t
136 { 136 {
137 fprintf(stderr, "mDebug %s:%d\n", __FILE__, __LINE__);
Rick Byers 2015/05/25 18:24:26 remove this of course...
mustaq 2015/05/26 15:00:09 Done.
137 event().eventPath().adjustForTouchEvent(event()); 138 event().eventPath().adjustForTouchEvent(event());
138 return dispatcher.dispatch(); 139 return dispatcher.dispatch();
139 } 140 }
140 141
141 } // namespace blink 142 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698