Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: ui/keyboard/keyboard_layout_delegate.h

Issue 2445293002: Make the virtual keyboard show up on the display with input focus. (Closed)
Patch Set: rebase & update Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« ui/keyboard/keyboard_controller.cc ('K') | « ui/keyboard/keyboard_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698