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..97bd6491d425a9645131182ae7b875d60ae248e1 100644 |
--- a/ui/events/ozone/layout/keyboard_layout_engine.h |
+++ b/ui/events/ozone/layout/keyboard_layout_engine.h |
@@ -37,6 +37,10 @@ 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 keyboard mapping description; |
+ // Returns true on success. |
+ virtual bool SetCurrentLayoutFromString(const std::string&) = 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; |