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

Side by Side Diff: ui/events/ozone/BUILD.gn

Issue 954943003: [KeyboardEvent] Use DOM |code| rather than Windows-based key code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/keycodes/xkb_keysym.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/linux/pkg_config.gni") 6 import("//build/config/linux/pkg_config.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Optional system libraries. 10 # Optional system libraries.
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 defines = [ "USE_XKBCOMMON" ] 147 defines = [ "USE_XKBCOMMON" ]
148 } 148 }
149 } 149 }
150 150
151 component("events_ozone_layout") { 151 component("events_ozone_layout") {
152 sources = [ 152 sources = [
153 "layout/events_ozone_layout_export.h", 153 "layout/events_ozone_layout_export.h",
154 "layout/keyboard_layout_engine.h", 154 "layout/keyboard_layout_engine.h",
155 "layout/keyboard_layout_engine_manager.cc", 155 "layout/keyboard_layout_engine_manager.cc",
156 "layout/keyboard_layout_engine_manager.h", 156 "layout/keyboard_layout_engine_manager.h",
157 "layout/layout_util.cc",
158 "layout/layout_util.h",
159 "layout/no/no_keyboard_layout_engine.cc", 157 "layout/no/no_keyboard_layout_engine.cc",
160 "layout/no/no_keyboard_layout_engine.h", 158 "layout/no/no_keyboard_layout_engine.h",
161 "layout/stub/stub_keyboard_layout_engine.cc", 159 "layout/stub/stub_keyboard_layout_engine.cc",
162 "layout/stub/stub_keyboard_layout_engine.h", 160 "layout/stub/stub_keyboard_layout_engine.h",
163 ] 161 ]
164 162
165 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] 163 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ]
166 164
167 deps = [ 165 deps = [
168 "//base", 166 "//base",
169 "//ui/events:dom4_keycode_converter", 167 "//ui/events:dom4_keycode_converter",
170 "//ui/events:events_base", 168 "//ui/events:events_base",
171 ] 169 ]
172 170
173 public_configs = [ ":events_ozone_layout_config" ] 171 public_configs = [ ":events_ozone_layout_config" ]
174 172
175 if (use_xkbcommon) { 173 if (use_xkbcommon) {
176 configs += [ ":xkbcommon" ] 174 configs += [ ":xkbcommon" ]
177 175
178 sources += [ 176 sources += [
179 "layout/xkb/scoped_xkb.h", 177 "layout/xkb/scoped_xkb.h",
180 "layout/xkb/xkb.h", 178 "layout/xkb/xkb.h",
181 "layout/xkb/xkb_evdev_codes.cc", 179 "layout/xkb/xkb_evdev_codes.cc",
182 "layout/xkb/xkb_evdev_codes.h", 180 "layout/xkb/xkb_evdev_codes.h",
183 "layout/xkb/xkb_key_code_converter.h", 181 "layout/xkb/xkb_key_code_converter.h",
184 "layout/xkb/xkb_keyboard_code_conversion.cc",
185 "layout/xkb/xkb_keyboard_code_conversion.h",
186 "layout/xkb/xkb_keyboard_layout_engine.cc", 182 "layout/xkb/xkb_keyboard_layout_engine.cc",
187 "layout/xkb/xkb_keyboard_layout_engine.h", 183 "layout/xkb/xkb_keyboard_layout_engine.h",
188 "layout/xkb/xkb_keysym.h", 184 "layout/xkb/xkb_keysym.h",
189 ] 185 ]
190 } 186 }
191 } 187 }
OLDNEW
« no previous file with comments | « ui/events/keycodes/xkb_keysym.h ('k') | ui/events/ozone/evdev/keyboard_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698