// third_party/blink/public/mojom/choosers/popup_menu.mojom-blink-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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_CHOOSERS_POPUP_MENU_MOJOM_BLINK_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CHOOSERS_POPUP_MENU_MOJOM_BLINK_TEST_UTILS_H_

#include "third_party/blink/public/mojom/choosers/popup_menu.mojom-blink.h"
#include "third_party/blink/renderer/platform/platform_export.h"


namespace blink::mojom::blink {


class PLATFORM_EXPORT PopupMenuClientInterceptorForTesting : public PopupMenuClient {
  virtual PopupMenuClient* GetForwardingInterface() = 0;
  void DidAcceptIndices(const ::blink::Vector<int32_t>& indices) override;
  void DidCancel() override;
};
class PLATFORM_EXPORT PopupMenuClientAsyncWaiter {
 public:
  explicit PopupMenuClientAsyncWaiter(PopupMenuClient* proxy);

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

  ~PopupMenuClientAsyncWaiter();

 private:
  PopupMenuClient* const proxy_;
};




}  // blink::mojom::blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_CHOOSERS_POPUP_MENU_MOJOM_BLINK_TEST_UTILS_H_