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

Side by Side Diff: ui/events/events_stub.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/event_utils.h ('k') | ui/events/ozone/events_ozone.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 "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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 return false; 118 return false;
119 } 119 }
120 120
121 bool GetGestureTimes(const base::NativeEvent& native_event, 121 bool GetGestureTimes(const base::NativeEvent& native_event,
122 double* start_time, 122 double* start_time,
123 double* end_time) { 123 double* end_time) {
124 NOTIMPLEMENTED(); 124 NOTIMPLEMENTED();
125 return false; 125 return false;
126 } 126 }
127 127
128 void SetNaturalScroll(bool enabled) {
129 NOTIMPLEMENTED();
130 }
131
132 bool IsNaturalScrollEnabled() {
133 NOTIMPLEMENTED();
134 return false;
135 }
136
137 bool IsTouchpadEvent(const base::NativeEvent& native_event) {
138 NOTIMPLEMENTED();
139 return false;
140 }
141
142 KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { 128 KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) {
143 NOTIMPLEMENTED(); 129 NOTIMPLEMENTED();
144 return static_cast<KeyboardCode>(0); 130 return static_cast<KeyboardCode>(0);
145 } 131 }
146 132
147 const char* CodeFromNative(const base::NativeEvent& native_event) { 133 const char* CodeFromNative(const base::NativeEvent& native_event) {
148 NOTIMPLEMENTED(); 134 NOTIMPLEMENTED();
149 return ""; 135 return "";
150 } 136 }
151 137
152 uint32 PlatformKeycodeFromNative(const base::NativeEvent& native_event) { 138 uint32 PlatformKeycodeFromNative(const base::NativeEvent& native_event) {
153 NOTIMPLEMENTED(); 139 NOTIMPLEMENTED();
154 return 0; 140 return 0;
155 } 141 }
156 142
157 } // namespace ui 143 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/event_utils.h ('k') | ui/events/ozone/events_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698