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

Unified Diff: services/ui/ws/test_utils.cc

Issue 2685883003: chromeos: converts observed pointer events to DIPs (Closed)
Patch Set: fix content Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index acfbae9c4c9fdbf8e71371c3e6a6f7eb7188df8b..b535e9bf397b9127d0d814b12dea2c92125d04f4 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -359,6 +359,7 @@ void TestWindowTreeClient::OnWindowSharedPropertyChanged(
void TestWindowTreeClient::OnWindowInputEvent(uint32_t event_id,
uint32_t window,
+ int64_t display_id,
std::unique_ptr<ui::Event> event,
bool matches_pointer_watcher) {
tracker_.OnWindowInputEvent(window, *event.get(), matches_pointer_watcher);
@@ -366,7 +367,8 @@ void TestWindowTreeClient::OnWindowInputEvent(uint32_t event_id,
void TestWindowTreeClient::OnPointerEventObserved(
std::unique_ptr<ui::Event> event,
- uint32_t window_id) {
+ uint32_t window_id,
+ int64_t display_id) {
tracker_.OnPointerEventObserved(*event.get(), window_id);
}

Powered by Google App Engine
This is Rietveld 408576698