tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

NativeLayerRemoteParent.h (917B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
      4 
      5 #ifndef mozilla_layers_NativeLayerRemoteParent_h
      6 #define mozilla_layers_NativeLayerRemoteParent_h
      7 
      8 #include "mozilla/layers/PNativeLayerRemoteParent.h"
      9 
     10 namespace mozilla {
     11 namespace layers {
     12 
     13 class NativeLayerRemoteParent : public PNativeLayerRemoteParent {
     14 public:
     15  virtual mozilla::ipc::IPCResult RecvCommitNativeLayerCommands(
     16      nsTArray<mozilla::layers::NativeLayerCommand>&& aCommands) = 0;
     17 
     18  virtual mozilla::ipc::IPCResult RecvRequestReadback(IntSize aSize,
     19                                                      Shmem* const aPixels) = 0;
     20 
     21  virtual mozilla::ipc::IPCResult RecvFlush() = 0;
     22 };
     23 
     24 }  // namespace layers
     25 }  // namespace mozilla
     26 
     27 #endif  // mozilla_layers_NativeLayerRemoteParent_h