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

Side by Side Diff: ui/base/win/events_win.cc

Issue 8907005: Add support for new scroll valuators coming from CMT (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup and comments Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <windowsx.h> 5 #include <windowsx.h>
6 6
7 #include "ui/base/events.h" 7 #include "ui/base/events.h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "ui/base/keycodes/keyboard_code_conversion_win.h" 10 #include "ui/base/keycodes/keyboard_code_conversion_win.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 float GetTouchAngle(const base::NativeEvent& native_event) { 246 float GetTouchAngle(const base::NativeEvent& native_event) {
247 NOTIMPLEMENTED(); 247 NOTIMPLEMENTED();
248 return 0.0; 248 return 0.0;
249 } 249 }
250 250
251 float GetTouchForce(const base::NativeEvent& native_event) { 251 float GetTouchForce(const base::NativeEvent& native_event) {
252 NOTIMPLEMENTED(); 252 NOTIMPLEMENTED();
253 return 0.0; 253 return 0.0;
254 } 254 }
255 255
256 bool GetScrollOffsets(const base::NativeEvent& native_event,
257 float* x_offset,
258 float* y_offset) {
259 NOTIMPLEMENTED();
260 return false;
261 }
262
256 base::NativeEvent CreateNoopEvent() { 263 base::NativeEvent CreateNoopEvent() {
257 MSG event; 264 MSG event;
258 event.message = WM_USER; 265 event.message = WM_USER;
259 event.wParam = 0; 266 event.wParam = 0;
260 event.lParam = 0; 267 event.lParam = 0;
261 return event; 268 return event;
262 } 269 }
263 270
264 } // namespace ui 271 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698