 Chromium Code Reviews
 Chromium Code Reviews Issue 
            501503003:
    Avoid an extra GestureDetector instance for double-tap drag zooming  (Closed)
    
  
    Issue 
            501503003:
    Avoid an extra GestureDetector instance for double-tap drag zooming  (Closed) 
  | DescriptionAvoid an extra GestureDetector instance for double-tap drag zooming
Currently, the ScaleGestureDetector will create a standalone GestureDetector
instance for detecting double-tap events. This is overkill, however,
as the only real callback it requires is the one for the initial |OnDoubleTap|,
and running detection for all other gestures is wasteful. Avoid this by
consolidating the GestureListener and ScaleGestureListener constructs, instead
exposing an explicit |ScaleGestureDetector::OnDoubleTap()| method that is called
indirectly using the existing GestureDetector instance.
BUG=406175
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291555
   Patch Set 1 #Patch Set 2 : Remove unnecessary scoped_ptr include #
      Total comments: 9
      
     Patch Set 3 : Code review #
      Total comments: 2
      
     Patch Set 4 : Fix spelling #
 Messages
    Total messages: 12 (0 generated)
     | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||