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

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

Issue 862093002: Split the event library into a cross-platform and native part. Part 1. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT Created 5 years, 11 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/event_utils.cc ('k') | ui/events/ipc/BUILD.gn » ('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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const base::NativeEvent& native_event) { 53 const base::NativeEvent& native_event) {
54 NOTIMPLEMENTED(); 54 NOTIMPLEMENTED();
55 return 0; 55 return 0;
56 } 56 }
57 57
58 gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { 58 gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) {
59 NOTIMPLEMENTED(); 59 NOTIMPLEMENTED();
60 return gfx::Vector2d(); 60 return gfx::Vector2d();
61 } 61 }
62 62
63 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) {
64 NOTIMPLEMENTED() <<
65 "Don't know how to copy base::NativeEvent for this platform";
66 return NULL;
67 }
68
69 void ReleaseCopiedNativeEvent(const base::NativeEvent& event) {
70 }
71
72 void IncrementTouchIdRefCount(const base::NativeEvent& native_event) { 63 void IncrementTouchIdRefCount(const base::NativeEvent& native_event) {
73 NOTIMPLEMENTED(); 64 NOTIMPLEMENTED();
74 } 65 }
75 66
76 void ClearTouchIdIfReleased(const base::NativeEvent& native_event) { 67 void ClearTouchIdIfReleased(const base::NativeEvent& native_event) {
77 NOTIMPLEMENTED(); 68 NOTIMPLEMENTED();
78 } 69 }
79 70
80 int GetTouchId(const base::NativeEvent& native_event) { 71 int GetTouchId(const base::NativeEvent& native_event) {
81 NOTIMPLEMENTED(); 72 NOTIMPLEMENTED();
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 return 0; 143 return 0;
153 } 144 }
154 145
155 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { 146 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) {
156 NOTIMPLEMENTED(); 147 NOTIMPLEMENTED();
157 return 0; 148 return 0;
158 } 149 }
159 150
160 151
161 } // namespace ui 152 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/event_utils.cc ('k') | ui/events/ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698