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

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

Issue 755403006: Added experimental Touch.tilt, Touch.tiltDirection support for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "base/time/time.h" 6 #include "base/time/time.h"
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "ui/events/event_utils.h" 8 #include "ui/events/event_utils.h"
9 #include "ui/gfx/point.h" 9 #include "ui/gfx/point.h"
10 #include "ui/gfx/vector2d.h" 10 #include "ui/gfx/vector2d.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 float GetTouchRadiusY(const base::NativeEvent& native_event) { 90 float GetTouchRadiusY(const base::NativeEvent& native_event) {
91 NOTIMPLEMENTED(); 91 NOTIMPLEMENTED();
92 return 0.f; 92 return 0.f;
93 } 93 }
94 94
95 float GetTouchAngle(const base::NativeEvent& native_event) { 95 float GetTouchAngle(const base::NativeEvent& native_event) {
96 NOTIMPLEMENTED(); 96 NOTIMPLEMENTED();
97 return 0.f; 97 return 0.f;
98 } 98 }
99 99
100 float GetTouchTilt(const base::NativeEvent& native_event) {
101 NOTIMPLEMENTED();
102 return 0.f;
103 }
104
100 float GetTouchForce(const base::NativeEvent& native_event) { 105 float GetTouchForce(const base::NativeEvent& native_event) {
101 NOTIMPLEMENTED(); 106 NOTIMPLEMENTED();
102 return 0.f; 107 return 0.f;
103 } 108 }
104 109
105 bool GetScrollOffsets(const base::NativeEvent& native_event, 110 bool GetScrollOffsets(const base::NativeEvent& native_event,
106 float* x_offset, 111 float* x_offset,
107 float* y_offset, 112 float* y_offset,
108 float* x_offset_ordinal, 113 float* x_offset_ordinal,
109 float* y_offset_ordinal, 114 float* y_offset_ordinal,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 return 0; 157 return 0;
153 } 158 }
154 159
155 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { 160 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) {
156 NOTIMPLEMENTED(); 161 NOTIMPLEMENTED();
157 return 0; 162 return 0;
158 } 163 }
159 164
160 165
161 } // namespace ui 166 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698