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

Side by Side Diff: ui/events/ozone/layout/no/no_keyboard_layout_engine.cc

Issue 2645703005: Add a KeyboardLayoutEngine::SetCurrentLayoutFromBuffer implementation (Closed)
Patch Set: for landing Created 3 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
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/no/no_keyboard_layout_engine.h" 5 #include "ui/events/ozone/layout/no/no_keyboard_layout_engine.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 bool NoKeyboardLayoutEngine::CanSetCurrentLayout() const { 9 bool NoKeyboardLayoutEngine::CanSetCurrentLayout() const {
10 return false; 10 return false;
11 } 11 }
12 12
13 bool NoKeyboardLayoutEngine::SetCurrentLayoutByName( 13 bool NoKeyboardLayoutEngine::SetCurrentLayoutByName(
14 const std::string& layout_name) { 14 const std::string& layout_name) {
15 return false; 15 return false;
16 } 16 }
17 17
18 bool NoKeyboardLayoutEngine::SetCurrentLayoutFromBuffer(const char* keymap_str,
19 size_t size) {
20 return false;
21 }
22
18 bool NoKeyboardLayoutEngine::UsesISOLevel5Shift() const { 23 bool NoKeyboardLayoutEngine::UsesISOLevel5Shift() const {
19 return false; 24 return false;
20 } 25 }
21 26
22 bool NoKeyboardLayoutEngine::UsesAltGr() const { 27 bool NoKeyboardLayoutEngine::UsesAltGr() const {
23 return false; 28 return false;
24 } 29 }
25 30
26 bool NoKeyboardLayoutEngine::Lookup(DomCode dom_code, 31 bool NoKeyboardLayoutEngine::Lookup(DomCode dom_code,
27 int flags, 32 int flags,
28 DomKey* dom_key, 33 DomKey* dom_key,
29 KeyboardCode* key_code) const { 34 KeyboardCode* key_code) const {
30 return false; 35 return false;
31 } 36 }
32 37
33 } // namespace ui 38 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/ozone/layout/no/no_keyboard_layout_engine.h ('k') | ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698