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

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

Issue 1312833006: Remove ui::KeyEvent::platform_keycode_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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.h ('k') | ui/events/ozone/evdev/keyboard_evdev.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/events/keycodes/dom/dom_code.h" 9 #include "ui/events/keycodes/dom/dom_code.h"
10 #include "ui/gfx/geometry/point.h" 10 #include "ui/gfx/geometry/point.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { 122 KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) {
123 NOTIMPLEMENTED(); 123 NOTIMPLEMENTED();
124 return static_cast<KeyboardCode>(0); 124 return static_cast<KeyboardCode>(0);
125 } 125 }
126 126
127 DomCode CodeFromNative(const base::NativeEvent& native_event) { 127 DomCode CodeFromNative(const base::NativeEvent& native_event) {
128 NOTIMPLEMENTED(); 128 NOTIMPLEMENTED();
129 return DomCode::NONE; 129 return DomCode::NONE;
130 } 130 }
131 131
132 uint32 PlatformKeycodeFromNative(const base::NativeEvent& native_event) {
133 NOTIMPLEMENTED();
134 return 0;
135 }
136
137 bool IsCharFromNative(const base::NativeEvent& native_event) { 132 bool IsCharFromNative(const base::NativeEvent& native_event) {
138 NOTIMPLEMENTED(); 133 NOTIMPLEMENTED();
139 return false; 134 return false;
140 } 135 }
141 136
142 uint32 WindowsKeycodeFromNative(const base::NativeEvent& native_event) { 137 uint32 WindowsKeycodeFromNative(const base::NativeEvent& native_event) {
143 NOTIMPLEMENTED(); 138 NOTIMPLEMENTED();
144 return 0; 139 return 0;
145 } 140 }
146 141
147 uint16 TextFromNative(const base::NativeEvent& native_event) { 142 uint16 TextFromNative(const base::NativeEvent& native_event) {
148 NOTIMPLEMENTED(); 143 NOTIMPLEMENTED();
149 return 0; 144 return 0;
150 } 145 }
151 146
152 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { 147 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) {
153 NOTIMPLEMENTED(); 148 NOTIMPLEMENTED();
154 return 0; 149 return 0;
155 } 150 }
156 151
157 152
158 } // namespace ui 153 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/event_utils.h ('k') | ui/events/ozone/evdev/keyboard_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698