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

Side by Side Diff: content/browser/renderer_host/input/synthetic_pointer_action.cc

Issue 1883763002: Revert of Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_pointer_action.h" 5 #include "content/browser/renderer_host/input/synthetic_pointer_action.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/WebKit/public/web/WebInputEvent.h" 8 #include "third_party/WebKit/public/web/WebInputEvent.h"
9 #include "ui/latency_info/latency_info.h" 9 #include "ui/events/latency_info.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 SyntheticPointerAction::SyntheticPointerAction( 13 SyntheticPointerAction::SyntheticPointerAction(
14 const SyntheticPointerActionParams& params) 14 const SyntheticPointerActionParams& params)
15 : params_(params) {} 15 : params_(params) {}
16 16
17 SyntheticPointerAction::SyntheticPointerAction( 17 SyntheticPointerAction::SyntheticPointerAction(
18 const SyntheticPointerActionParams& params, 18 const SyntheticPointerActionParams& params,
19 SyntheticPointer* synthetic_pointer) 19 SyntheticPointer* synthetic_pointer)
(...skipping 30 matching lines...) Expand all
50 synthetic_pointer_->Release(params_.index(), target, timestamp); 50 synthetic_pointer_->Release(params_.index(), target, timestamp);
51 break; 51 break;
52 default: 52 default:
53 NOTREACHED(); 53 NOTREACHED();
54 break; 54 break;
55 } 55 }
56 synthetic_pointer_->DispatchEvent(target, timestamp); 56 synthetic_pointer_->DispatchEvent(target, timestamp);
57 } 57 }
58 58
59 } // namespace content 59 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698