summaryrefslogtreecommitdiff
path: root/chromium/ui/keyboard/keyboard_layout_delegate.h
blob: 8fe9bfcf2d5c5671968fe80318efc9f3f0cacdd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_
#define UI_KEYBOARD_KEYBOARD_LAYOUT_DELEGATE_H_

#include <stdint.h>

#include "ui/keyboard/keyboard_export.h"

namespace keyboard {

// A delegate class to control the virtual keyboard layout
class KEYBOARD_EXPORT KeyboardLayoutDelegate {
 public:
  virtual ~KeyboardLayoutDelegate() {}

  virtual void MoveKeyboardToDisplay(int64_t display_id) = 0;

  // Move the keyboard to the touchable display which has the input focus, or
  // the first touchable display.
  virtual void MoveKeyboardToTouchableDisplay() = 0;
};

}  // namespace keyboard

#endif