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

Side by Side Diff: ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc

Issue 1501823003: Add //ui/* to "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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.cc ('k') | ui/gfx/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 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 #include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h" 5 #include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "ui/events/event.h"
11 #include "ui/events/keycodes/dom/dom_code.h" 10 #include "ui/events/keycodes/dom/dom_code.h"
12 #include "ui/events/keycodes/dom/dom_key.h" 11 #include "ui/events/keycodes/dom/dom_key.h"
13 #include "ui/events/keycodes/keyboard_code_conversion.h" 12 #include "ui/events/keycodes/keyboard_code_conversion.h"
14 #include "ui/events/ozone/layout/layout_util.h" 13 #include "ui/events/ozone/layout/layout_util.h"
15 14
16 namespace ui { 15 namespace ui {
17 16
18 StubKeyboardLayoutEngine::StubKeyboardLayoutEngine() { 17 StubKeyboardLayoutEngine::StubKeyboardLayoutEngine() {
19 } 18 }
20 19
(...skipping 18 matching lines...) Expand all
39 } 38 }
40 39
41 bool StubKeyboardLayoutEngine::Lookup(DomCode dom_code, 40 bool StubKeyboardLayoutEngine::Lookup(DomCode dom_code,
42 int flags, 41 int flags,
43 DomKey* out_dom_key, 42 DomKey* out_dom_key,
44 KeyboardCode* out_key_code) const { 43 KeyboardCode* out_key_code) const {
45 return DomCodeToUsLayoutDomKey(dom_code, flags, out_dom_key, out_key_code); 44 return DomCodeToUsLayoutDomKey(dom_code, flags, out_dom_key, out_key_code);
46 } 45 }
47 46
48 } // namespace ui 47 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/event.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698