| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_ | 5 #ifndef UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_ |
| 6 #define UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_ | 6 #define UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ui/keyboard/keyboard_export.h" | 10 #include "ui/keyboard/keyboard_export.h" |
| 11 | 11 |
| 12 namespace keyboard { | 12 namespace keyboard { |
| 13 | 13 |
| 14 // A delegate class to control the virtual keyboard layout | 14 // A delegate class to control the virtual keyboard layout |
| 15 class KEYBOARD_EXPORT KeyboardLayoutDelegate { | 15 class KeyboardLayoutDelegate { |
| 16 public: | 16 public: |
| 17 virtual ~KeyboardLayoutDelegate() {} | 17 virtual ~KeyboardLayoutDelegate() {} |
| 18 | 18 |
| 19 virtual void MoveKeyboardToDisplay(int64_t display_id) = 0; | 19 virtual void MoveKeyboardToDisplay(int64_t display_id) = 0; |
| 20 | 20 |
| 21 // Move the keyboard to the touchable display which has the input focus, or | 21 // Move the keyboard to the touchable display which has the input focus, or |
| 22 // the first touchable display. | 22 // the first touchable display. |
| 23 virtual void MoveKeyboardToTouchableDisplay() = 0; | 23 virtual void MoveKeyboardToTouchableDisplay() = 0; |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace keyboard | 26 } // namespace keyboard |
| 27 | 27 |
| 28 #endif | 28 #endif |
| OLD | NEW |