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

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

Issue 2193153002: MacViews: Send Mac scrollWheel NSEvents as ui::ET_SCROLL (ui::ScrollEvent). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-ScrollLayers
Patch Set: NSDictionary subscripting Created 4 years, 2 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
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/test/cocoa_test_event_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 /* force */ 0.f, 96 /* force */ 0.f,
97 /* tilt_x */ 0.f, 97 /* tilt_x */ 0.f,
98 /* tilt_y */ 0.f); 98 /* tilt_y */ 0.f);
99 } 99 }
100 100
101 bool GetScrollOffsets(const base::NativeEvent& native_event, 101 bool GetScrollOffsets(const base::NativeEvent& native_event,
102 float* x_offset, 102 float* x_offset,
103 float* y_offset, 103 float* y_offset,
104 float* x_offset_ordinal, 104 float* x_offset_ordinal,
105 float* y_offset_ordinal, 105 float* y_offset_ordinal,
106 int* finger_count) { 106 int* finger_count,
107 EventMomentumPhase* momentum_phase) {
107 NOTIMPLEMENTED(); 108 NOTIMPLEMENTED();
108 return false; 109 return false;
109 } 110 }
110 111
111 bool GetFlingData(const base::NativeEvent& native_event, 112 bool GetFlingData(const base::NativeEvent& native_event,
112 float* vx, 113 float* vx,
113 float* vy, 114 float* vy,
114 float* vx_ordinal, 115 float* vx_ordinal,
115 float* vy_ordinal, 116 float* vy_ordinal,
116 bool* is_cancel) { 117 bool* is_cancel) {
(...skipping 26 matching lines...) Expand all
143 return 0; 144 return 0;
144 } 145 }
145 146
146 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) { 147 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) {
147 NOTIMPLEMENTED(); 148 NOTIMPLEMENTED();
148 return 0; 149 return 0;
149 } 150 }
150 151
151 152
152 } // namespace ui 153 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/test/cocoa_test_event_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698