| // 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. | |
| #include "flutter/shell/platform/linux/testing/mock_window.h" | |
| using namespace flutter::testing; | |
| static MockWindow* mock = nullptr; | |
| MockWindow::MockWindow() { | |
| mock = this; | |
| } | |
| GdkWindowState gdk_window_get_state(GdkWindow* window) { | |
| return mock->gdk_window_get_state(window); | |
| } | |
| GdkDisplay* gdk_window_get_display(GdkWindow* window) { | |
| return nullptr; | |
| } | |
| GdkMonitor* gdk_display_get_monitor_at_window(GdkDisplay* display, | |
| GdkWindow* window) { | |
| return nullptr; | |
| } | |
| GdkCursor* gdk_cursor_new_from_name(GdkDisplay* display, const gchar* name) { | |
| return nullptr; | |
| } | |
| void gdk_window_set_cursor(GdkWindow* window, GdkCursor* cursor) {} |