| OLD | NEW |
| 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 |
| OLD | NEW |