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

Side by Side Diff: ui/events/x/events_x_utils.h

Issue 2751833006: Treat NotifyVirtual events as mouse move events for blink. (Closed)
Patch Set: Try to fix build Created 3 years, 9 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 (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #ifndef UI_EVENTS_X_EVENTS_X_UTILS_H_ 5 #ifndef UI_EVENTS_X_EVENTS_X_UTILS_H_
6 #define UI_EVENTS_X_EVENTS_X_UTILS_H_ 6 #define UI_EVENTS_X_EVENTS_X_UTILS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 EVENTS_X_EXPORT bool GetFlingDataFromXEvent(const XEvent& xev, 78 EVENTS_X_EXPORT bool GetFlingDataFromXEvent(const XEvent& xev,
79 float* vx, 79 float* vx,
80 float* vy, 80 float* vy,
81 float* vx_ordinal, 81 float* vx_ordinal,
82 float* vy_ordinal, 82 float* vy_ordinal,
83 bool* is_cancel); 83 bool* is_cancel);
84 84
85 EVENTS_X_EXPORT void ResetTimestampRolloverCountersForTesting( 85 EVENTS_X_EXPORT void ResetTimestampRolloverCountersForTesting(
86 std::unique_ptr<base::TickClock> tick_clock = nullptr); 86 std::unique_ptr<base::TickClock> tick_clock = nullptr);
87 87
88 EVENTS_X_EXPORT bool IsVirtualMouseLeaveEvent(const XEvent& xev);
89
88 } // namespace ui 90 } // namespace ui
89 91
90 #endif // UI_EVENTS_X_EVENTS_X_UTILS_H_ 92 #endif // UI_EVENTS_X_EVENTS_X_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698