blob: c373adbeee835af216836ea698179650fffd1710 [file] [log] [blame]
// Copyright 2018 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 ash.mojom;
import "ui/gfx/geometry/mojo/geometry.mojom";
// Used by a client (e.g. Chrome) to notify ash of focus change events of nodes
// in webpages.
interface DockedMagnifierController {
// Requests that the Docked Magnifier centers its viewport around this given
// screen point. This can be used by a client (e.g. Chrome) to notify ash of
// focus change events in e.g. webpages when feature is enabled. Note that ash
// observes the focus change events of the text input carets in editable nodes
// by itself.
CenterOnPoint(gfx.mojom.Point point_in_screen);
};