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

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

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/gestures/gesture_provider_aura.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 <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"
11 #include "ui/events/keycodes/dom/dom_code.h" 11 #include "ui/events/keycodes/dom/dom_code.h"
12 #include "ui/gfx/geometry/point.h" 12 #include "ui/gfx/geometry/point.h"
13 #include "ui/gfx/geometry/vector2d.h" 13 #include "ui/gfx/geometry/vector2d.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 // Stub implementations of platform-specific methods in events_util.h, built 17 // Stub implementations of platform-specific methods in events_util.h, built
18 // on platforms that currently do not have a complete implementation of events. 18 // on platforms that currently do not have a complete implementation of events.
19 19
20 EventType EventTypeFromNative(const base::NativeEvent& native_event) { 20 EventType EventTypeFromNative(const base::NativeEvent& native_event) {
21 NOTIMPLEMENTED(); 21 NOTIMPLEMENTED();
22 return ET_UNKNOWN; 22 return ET_UNKNOWN;
23 } 23 }
24 24
25 int EventFlagsFromNative(const base::NativeEvent& native_event) { 25 int EventFlagsFromNative(const base::NativeEvent& native_event) {
26 NOTIMPLEMENTED(); 26 NOTIMPLEMENTED();
27 return 0; 27 return 0;
28 } 28 }
29 29
30 base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) { 30 base::TimeTicks EventTimeFromNative(const base::NativeEvent& native_event) {
31 NOTIMPLEMENTED(); 31 NOTIMPLEMENTED();
32 return base::TimeDelta(); 32 return base::TimeTicks();
33 } 33 }
34 34
35 gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { 35 gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) {
36 NOTIMPLEMENTED(); 36 NOTIMPLEMENTED();
37 return gfx::Point(); 37 return gfx::Point();
38 } 38 }
39 39
40 gfx::Point EventSystemLocationFromNative( 40 gfx::Point EventSystemLocationFromNative(
41 const base::NativeEvent& native_event) { 41 const base::NativeEvent& native_event) {
42 NOTIMPLEMENTED(); 42 NOTIMPLEMENTED();
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 return 0; 143 return 0;
144 } 144 }
145 145
146 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) { 146 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) {
147 NOTIMPLEMENTED(); 147 NOTIMPLEMENTED();
148 return 0; 148 return 0;
149 } 149 }
150 150
151 151
152 } // namespace ui 152 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/events_default.cc ('k') | ui/events/gestures/gesture_provider_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698