blob: 29f0d89a529b646d8074b9369ed99e1037a91b90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2014 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.
import "mojo/services/public/interfaces/geometry/geometry.mojom"
module mojo {
interface IWindowManager {
CloseWindow(uint32 node_id);
// Shows the keyboard for the specified view. |bounds| is the bounds of the
// view that is showing focus. |bounds| is relative to the bounds of the node.
// Events from the keyboard are routed to the view with id |view_id|.
ShowKeyboard(uint32 view_id, mojo.Rect bounds);
// Hides the keyboard. This is ignored if |view_id| is not the view that was
// last passed to ShowKeyboard().
HideKeyboard(uint32 view_id);
};
}
|