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

Side by Side Diff: ui/events/ozone/events_ozone.cc

Issue 405683002: ui: Remove some unnecessary functions from the API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/events/events_stub.cc ('k') | ui/events/win/events_win.cc » ('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 "ui/events/event.h" 5 #include "ui/events/event.h"
6 #include "ui/events/event_constants.h" 6 #include "ui/events/event_constants.h"
7 #include "ui/events/event_utils.h" 7 #include "ui/events/event_utils.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } 137 }
138 138
139 bool GetGestureTimes(const base::NativeEvent& native_event, 139 bool GetGestureTimes(const base::NativeEvent& native_event,
140 double* start_time, 140 double* start_time,
141 double* end_time) { 141 double* end_time) {
142 *start_time = 0; 142 *start_time = 0;
143 *end_time = 0; 143 *end_time = 0;
144 return false; 144 return false;
145 } 145 }
146 146
147 void SetNaturalScroll(bool /* enabled */) { NOTIMPLEMENTED(); }
148
149 bool IsNaturalScrollEnabled() { return false; }
150
151 bool IsTouchpadEvent(const base::NativeEvent& event) {
152 NOTIMPLEMENTED();
153 return false;
154 }
155
156 int GetModifiersFromKeyState() { 147 int GetModifiersFromKeyState() {
157 NOTIMPLEMENTED(); 148 NOTIMPLEMENTED();
158 return 0; 149 return 0;
159 } 150 }
160 151
161 } // namespace ui 152 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/events_stub.cc ('k') | ui/events/win/events_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698