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

Side by Side Diff: trunk/src/content/browser/renderer_host/input/synthetic_gesture_controller_new.cc

Issue 79143002: Revert 236254 "Replace old with new synthetic gesture framework." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/input/synthetic_gesture_controller_new.h " 5 #include "content/browser/renderer_host/input/synthetic_gesture_controller_new.h "
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "content/browser/renderer_host/input/synthetic_gesture_target.h" 8 #include "content/browser/renderer_host/input/synthetic_gesture_target.h"
9 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" 9 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h"
10 #include "content/common/input_messages.h" 10 #include "content/common/input_messages.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void SyntheticGestureControllerNew::StopGesture( 72 void SyntheticGestureControllerNew::StopGesture(
73 const SyntheticGestureNew& gesture, SyntheticGestureNew::Result result) { 73 const SyntheticGestureNew& gesture, SyntheticGestureNew::Result result) {
74 DCHECK_NE(result, SyntheticGestureNew::GESTURE_RUNNING); 74 DCHECK_NE(result, SyntheticGestureNew::GESTURE_RUNNING);
75 TRACE_EVENT_ASYNC_END0("benchmark", "SyntheticGestureController::running", 75 TRACE_EVENT_ASYNC_END0("benchmark", "SyntheticGestureController::running",
76 &gesture); 76 &gesture);
77 77
78 gesture_target_->OnSyntheticGestureCompleted(result); 78 gesture_target_->OnSyntheticGestureCompleted(result);
79 } 79 }
80 80
81 } // namespace content 81 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698