summaryrefslogtreecommitdiff
path: root/chromium/content/common/widget.mojom
blob: 6a2ed269a28397405d44860032747750f2eb6ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 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 content.mojom;

import "content/common/input/input_handler.mojom";

// Interface exposed by the renderer for Widgets.
interface Widget {
  // Setup the input channel for this widget. If the widget is a frame,
  // then it will have a FrameInputHandler and the WidgetInputHandler should
  // be obtained using that interface instead. The frame's FrameInputHandler
  // uses associated receivers to ensure serial ordering with the frame
  // input messages.
  SetupWidgetInputHandler(pending_receiver<WidgetInputHandler> request,
                          pending_remote<WidgetInputHandlerHost> host);
};