OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
oshima
2016/11/08 17:26:05
remove "(c)" Old files may have it, but it's obsol
yhanada
2016/11/14 22:48:47
Done.
| |
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 // If display_id != |kInvalidDisplayID|, move the keyboard to that display. | |
20 // If display_id == |kInvalidDisplayID|, move the keyboard to the touchable | |
21 // display which has the input focus, or the first touchable display. | |
22 virtual void MoveKeyboardToAnotherDisplayIfNeeded(int64_t display_id) = 0; | |
oshima
2016/11/08 17:26:05
Since the caller knows which, it's better to have
yhanada
2016/11/14 22:48:47
Done.
| |
23 }; | |
24 | |
25 } // namespace keyboard | |
26 | |
27 #endif | |
OLD | NEW |