// services/viz/privileged/mojom/compositing/layered_window_updater.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_LAYERED_WINDOW_UPDATER_MOJOM_TEST_UTILS_H_
#define SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_LAYERED_WINDOW_UPDATER_MOJOM_TEST_UTILS_H_

#include "services/viz/privileged/mojom/compositing/layered_window_updater.mojom.h"


namespace viz::mojom {


class  LayeredWindowUpdaterInterceptorForTesting : public LayeredWindowUpdater {
  virtual LayeredWindowUpdater* GetForwardingInterface() = 0;
  void OnAllocatedSharedMemory(const ::gfx::Size& pixel_size, ::base::UnsafeSharedMemoryRegion region) override;
  void Draw(DrawCallback callback) override;
};
class  LayeredWindowUpdaterAsyncWaiter {
 public:
  explicit LayeredWindowUpdaterAsyncWaiter(LayeredWindowUpdater* proxy);

  LayeredWindowUpdaterAsyncWaiter(const LayeredWindowUpdaterAsyncWaiter&) = delete;
  LayeredWindowUpdaterAsyncWaiter& operator=(const LayeredWindowUpdaterAsyncWaiter&) = delete;

  ~LayeredWindowUpdaterAsyncWaiter();
  void Draw(
      );
  

 private:
  LayeredWindowUpdater* const proxy_;
};




}  // viz::mojom

#endif  // SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_LAYERED_WINDOW_UPDATER_MOJOM_TEST_UTILS_H_