Index: ui/events/ozone/layout/keyboard_layout_engine.h |
diff --git a/ui/events/ozone/layout/keyboard_layout_engine.h b/ui/events/ozone/layout/keyboard_layout_engine.h |
index b03a0da3ec552846117750a3cbccadddb65c981f..78122b8791fc0610172b2a18b67b18868c9df885 100644 |
--- a/ui/events/ozone/layout/keyboard_layout_engine.h |
+++ b/ui/events/ozone/layout/keyboard_layout_engine.h |
@@ -37,6 +37,12 @@ class EVENTS_OZONE_LAYOUT_EXPORT KeyboardLayoutEngine { |
// the argument string is defined by that interface (crbug.com/362698). |
virtual bool SetCurrentLayoutByName(const std::string& layout_name) = 0; |
+ // Sets the current layout given a memory location and the buffer size in |
+ // bytes, |
+ // that represent keyboard mapping description; returns true on success. |
Michael Forney
2017/01/20 19:31:42
Rewrap.
tonikitoo
2017/01/20 20:01:13
Done.
|
+ virtual bool SetCurrentLayoutFromBuffer(const char* keymap_string, |
+ uint32_t size) = 0; |
+ |
// Returns true if the current layout makes use of the ISO Level 5 Shift key. |
// Drop-in replacement for ImeKeyboard::IsISOLevel5ShiftAvailable(). |
virtual bool UsesISOLevel5Shift() const = 0; |