Flutter Engine
The Flutter Engine
mock_direct_manipulation.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_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_
7
8#include "flutter/fml/macros.h"
9#include "flutter/shell/platform/windows/direct_manipulation.h"
10#include "gmock/gmock.h"
11
12namespace flutter {
13namespace testing {
14
15/// Mock for the |DirectManipulationOwner| base class.
17 public:
20 virtual ~MockDirectManipulationOwner() = default;
21
22 MOCK_METHOD(void, SetContact, (UINT contact_id), (override));
23
24 private:
25 FML_DISALLOW_COPY_AND_ASSIGN(MockDirectManipulationOwner);
26};
27
28} // namespace testing
29} // namespace flutter
30
31#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_
virtual void SetContact(UINT contactId)
Mock for the |DirectManipulationOwner| base class.
MOCK_METHOD(void, SetContact,(UINT contact_id),(override))
GLFWwindow * window
Definition: main.cc:45
unsigned int UINT
Definition: windows_types.h:32