author Botond Ballo <botond@mozilla.com>
Thu, 25 Apr 2019 14:33:17 +0000
changeset 530341 4f70b98aa8705b6906b6bd2a3de66d374addb177
parent 527424 8cbdae26bf7b3727f7a108fb2af8e5012d07b3d7
child 540651 c1b80824ae8885c5caef8401813da38d500f853b
permissions -rw-r--r--
Bug 1546139 - Restore the call to AdjustFixedOrStickyLayer() for layers fixed to the RCD-RSF. r=kats This call served two purposes: (1) scroll the fixed layer by the eVisual transform, and (2) adjust it by the fixed margins. The first purpose is now served by applying the eVisual transform to the async zoom container, but we still need the call for the second purpose. Differential Revision: https://phabricator.services.mozilla.com/D28735

/* 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 "nsIArray.idl"
#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 an array of nsITouchBarInputs in the specified window.
  void updateTouchBarInputs(in nsIBaseWindow aWindow, in Array<nsITouchBarInput> aInputs);