| // Copyright 2013 The Flutter Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_RENDERER_H_ |
| #define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_RENDERER_H_ |
| |
| #include "flutter/shell/platform/linux/fl_renderer.h" |
| |
| G_BEGIN_DECLS |
| |
| G_DECLARE_FINAL_TYPE(FlMockRenderer, |
| fl_mock_renderer, |
| FL, |
| MOCK_RENDERER, |
| FlRenderer) |
| |
| typedef gdouble (*FlMockRendererGetRefreshRate)(FlRenderer* renderer); |
| |
| FlMockRenderer* fl_mock_renderer_new( |
| FlMockRendererGetRefreshRate get_refresh_rate = nullptr); |
| |
| G_END_DECLS |
| |
| #endif // FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_RENDERER_H_ |