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

Unified Diff: ui/events/events_stub.cc

Issue 1410873012: events: Preserve pointer details in native MouseEvent constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/win/events_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/events_stub.cc
diff --git a/ui/events/events_stub.cc b/ui/events/events_stub.cc
index d4ba557826452749dc6049085dfa57055f22a511..87c71a5b3a48a43bce213d446aaf60a0f3d93489 100644
--- a/ui/events/events_stub.cc
+++ b/ui/events/events_stub.cc
@@ -56,6 +56,11 @@ int GetChangedMouseButtonFlagsFromNative(
return 0;
}
+PointerDetails GetMousePointerDetailsFromNative(
+ const base::NativeEvent& native_event) {
+ return PointerDetails(EventPointerType::POINTER_TYPE_MOUSE);
+}
+
gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
return gfx::Vector2d();
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/win/events_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698