widget/nsITouchBarUpdater.idl
author Matt Woodrow <mwoodrow@mozilla.com>
Fri, 25 Jan 2019 05:09:46 +0000
changeset 512516 30b603686936b9247510a0276e765e558bb91ae6
parent 511967 099f631b90046b102aa1868455f03b7f9942eaba
child 523685 e49c905f4cf68877d022c8457913253e1cb3acb1
permissions -rw-r--r--
Bug 1520269 - Use the most recently skipped vsync id for catch up composites. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D17598

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsIBaseWindow.idl"
#include "nsISupports.idl"
#include "nsITouchBarInput.idl"

/**
 * Front-to-backend communication to keep Touch Bar updated
 */
[scriptable, uuid(38f396e2-93c9-4a77-aaf7-2d50b9962186)]
interface nsITouchBarUpdater : nsISupports
{
  /**
   * Updates a Touch Bar input in the specified window with the properties in
   * aInput.
   */
  void updateTouchBarInput(in nsIBaseWindow aWindow, in nsITouchBarInput aInput);
};