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

Side by Side Diff: ui/events/events_stub.cc

Issue 2647253002: Add tangentialPressure and twist properties to PointerEvent on Windows (Closed)
Patch Set: rotation Created 3 years, 11 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ui/events/event_utils.h" 10 #include "ui/events/event_utils.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 94
95 PointerDetails GetTouchPointerDetailsFromNative( 95 PointerDetails GetTouchPointerDetailsFromNative(
96 const base::NativeEvent& native_event) { 96 const base::NativeEvent& native_event) {
97 NOTIMPLEMENTED(); 97 NOTIMPLEMENTED();
98 return PointerDetails(EventPointerType::POINTER_TYPE_UNKNOWN, 98 return PointerDetails(EventPointerType::POINTER_TYPE_UNKNOWN,
99 /* radius_x */ 1.0, 99 /* radius_x */ 1.0,
100 /* radius_y */ 1.0, 100 /* radius_y */ 1.0,
101 /* force */ 0.f, 101 /* force */ 0.f,
102 /* tilt_x */ 0.f, 102 /* tilt_x */ 0.f,
103 /* tilt_y */ 0.f); 103 /* tilt_y */ 0.f,
104 /* tangentialPressure */ 0.0f,
105 /* twist */ 0);
104 } 106 }
105 107
106 bool GetScrollOffsets(const base::NativeEvent& native_event, 108 bool GetScrollOffsets(const base::NativeEvent& native_event,
107 float* x_offset, 109 float* x_offset,
108 float* y_offset, 110 float* y_offset,
109 float* x_offset_ordinal, 111 float* x_offset_ordinal,
110 float* y_offset_ordinal, 112 float* y_offset_ordinal,
111 int* finger_count, 113 int* finger_count,
112 EventMomentumPhase* momentum_phase) { 114 EventMomentumPhase* momentum_phase) {
113 NOTIMPLEMENTED(); 115 NOTIMPLEMENTED();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 return 0; 151 return 0;
150 } 152 }
151 153
152 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) { 154 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) {
153 NOTIMPLEMENTED(); 155 NOTIMPLEMENTED();
154 return 0; 156 return 0;
155 } 157 }
156 158
157 159
158 } // namespace ui 160 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698