OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_ |
| 6 #define UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_ |
| 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "ui/keyboard/keyboard_export.h" |
| 11 |
| 12 namespace keyboard { |
| 13 |
| 14 // A delegate class to control the virtual keyboard layout |
| 15 class KEYBOARD_EXPORT KeyboardLayoutDelegate { |
| 16 public: |
| 17 virtual ~KeyboardLayoutDelegate() {} |
| 18 |
| 19 virtual void MoveKeyboardToDisplay(int64_t display_id) = 0; |
| 20 |
| 21 // Move the keyboard to the touchable display which has the input focus, or |
| 22 // the first touchable display. |
| 23 virtual void MoveKeyboardToTouchableDisplay() = 0; |
| 24 }; |
| 25 |
| 26 } // namespace keyboard |
| 27 |
| 28 #endif |
OLD | NEW |