Flutter Impeller
playground_test.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_PLAYGROUND_TEST_H_
6 #define FLUTTER_IMPELLER_TOOLKIT_INTEROP_PLAYGROUND_TEST_H_
7 
8 #include <functional>
9 
13 
15 
17  public:
19 
20  // |PlaygroundTest|
21  ~PlaygroundTest() override;
22 
23  PlaygroundTest(const PlaygroundTest&) = delete;
24 
26 
27  // |PlaygroundTest|
28  void SetUp() override;
29 
30  // |PlaygroundTest|
31  void TearDown() override;
32 
34 
36 
38  std::function<bool(const ScopedObject<Context>& context,
39  const ScopedObject<Surface>& surface)>;
41 
42  private:
43  ScopedObject<Context> interop_context_;
44 };
45 
46 } // namespace impeller::interop::testing
47 
48 #endif // FLUTTER_IMPELLER_TOOLKIT_INTEROP_PLAYGROUND_TEST_H_
ScopedObject< Context > CreateContext() const
PlaygroundTest & operator=(const PlaygroundTest &)=delete
std::function< bool(const ScopedObject< Context > &context, const ScopedObject< Surface > &surface)> InteropPlaygroundCallback
bool OpenPlaygroundHere(InteropPlaygroundCallback callback)
PlaygroundTest(const PlaygroundTest &)=delete