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

Side by Side Diff: trunk/src/content/browser/renderer_host/synthetic_gesture_controller.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/synthetic_gesture_controller.h" 5 #include "content/browser/renderer_host/synthetic_gesture_controller.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/common/view_messages.h" 9 #include "content/common/view_messages.h"
10 #include "content/port/browser/render_widget_host_view_port.h" 10 #include "content/port/browser/render_widget_host_view_port.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 if (!pending_synthetic_gesture_->ForwardInputEvents(now, rwh_)) { 75 if (!pending_synthetic_gesture_->ForwardInputEvents(now, rwh_)) {
76 timer_.Stop(); 76 timer_.Stop();
77 TRACE_EVENT_ASYNC_END0("benchmark", "SyntheticGestureController::running", 77 TRACE_EVENT_ASYNC_END0("benchmark", "SyntheticGestureController::running",
78 pending_synthetic_gesture_); 78 pending_synthetic_gesture_);
79 pending_synthetic_gesture_ = NULL; 79 pending_synthetic_gesture_ = NULL;
80 rwh_->Send(new ViewMsg_SyntheticGestureCompleted(rwh_->GetRoutingID())); 80 rwh_->Send(new ViewMsg_SyntheticGestureCompleted(rwh_->GetRoutingID()));
81 } 81 }
82 } 82 }
83 83
84 } // namespace content 84 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698