blob: 94fb80b5f1aca5e800f4faa8b4917b5471bc49ac [file] [log] [blame]
// 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.
module mojo;
import "mojo/services/geometry/public/interfaces/geometry.mojom";
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);
};