Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
aiks_playground.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_DISPLAY_LIST_AIKS_PLAYGROUND_H_
6#define FLUTTER_IMPELLER_DISPLAY_LIST_AIKS_PLAYGROUND_H_
7
12#include "third_party/imgui/imgui.h"
13
14namespace impeller {
15
17 public:
18 using AiksDlPlaygroundCallback = std::function<sk_sp<flutter::DisplayList>()>;
19
21
23
24 void TearDown() override;
25
27 std::shared_ptr<TypographerContext> typographer_context);
28
30
31 bool OpenPlaygroundHere(const sk_sp<flutter::DisplayList>& list);
32
33 private:
34 std::shared_ptr<TypographerContext> typographer_context_;
35
36 AiksPlayground(const AiksPlayground&) = delete;
37
38 AiksPlayground& operator=(const AiksPlayground&) = delete;
39};
40
42 public:
43 bool IsGoldenTestSuite() const override;
44};
45
46} // namespace impeller
47
48#endif // FLUTTER_IMPELLER_DISPLAY_LIST_AIKS_PLAYGROUND_H_
std::function< sk_sp< flutter::DisplayList >()> AiksDlPlaygroundCallback
bool OpenPlaygroundHere(const AiksDlPlaygroundCallback &callback)
void SetTypographerContext(std::shared_ptr< TypographerContext > typographer_context)
bool IsGoldenTestSuite() const override
This method is overridden on a test suite basis and establishes whether a given set of tests is inten...
FlutterDesktopBinaryReply callback