Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
tester_context.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_SHELL_TESTING_TESTER_CONTEXT_H_
6#define FLUTTER_SHELL_TESTING_TESTER_CONTEXT_H_
7
8#include <memory>
9
12
13namespace flutter {
14
16 public:
17 virtual ~TesterContext() = default;
18
19 virtual std::shared_ptr<impeller::Context> GetImpellerContext() const = 0;
20
21 virtual std::unique_ptr<Surface> CreateRenderingSurface() = 0;
22};
23
24} // namespace flutter
25
26#endif // FLUTTER_SHELL_TESTING_TESTER_CONTEXT_H_
virtual std::shared_ptr< impeller::Context > GetImpellerContext() const =0
virtual std::unique_ptr< Surface > CreateRenderingSurface()=0
virtual ~TesterContext()=default