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

Side by Side Diff: dart/samples/ui_lib/touch/ClickBuster.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 | « dart/samples/ui_lib/touch/BezierPhysics.dart ('k') | dart/samples/ui_lib/touch/EventUtil.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of touch;
2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 /** 5 /**
8 * Click buster implementation, which is a behavior that prevents native clicks 6 * Click buster implementation, which is a behavior that prevents native clicks
9 * from firing at undesirable times. There are two scenarios where we may want 7 * from firing at undesirable times. There are two scenarios where we may want
10 * to 'bust' a click. 8 * to 'bust' a click.
11 * 9 *
12 * Buttons implemented with touch events usually have click handlers as well. 10 * Buttons implemented with touch events usually have click handlers as well.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 if (_hitTest(entry.element, entry.nextEntry().element, x, y)) { 205 if (_hitTest(entry.element, entry.nextEntry().element, x, y)) {
208 entry.nextEntry().remove(); 206 entry.nextEntry().remove();
209 entry.remove(); 207 entry.remove();
210 return; 208 return;
211 } else { 209 } else {
212 entry = entry.nextEntry().nextEntry(); 210 entry = entry.nextEntry().nextEntry();
213 } 211 }
214 } 212 }
215 } 213 }
216 } 214 }
OLDNEW
« no previous file with comments | « dart/samples/ui_lib/touch/BezierPhysics.dart ('k') | dart/samples/ui_lib/touch/EventUtil.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698