1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
content / test / mock_overscroll_observer.h [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_TEST_MOCK_OVERSCROLL_OBSERVER_H_
#define CONTENT_TEST_MOCK_OVERSCROLL_OBSERVER_H_
namespace content {
// An interface for tests to use MockOverscrollControllerDelegateAura and
// MockOverscrollRefreshHandlerAndroid.
class MockOverscrollObserver {
public:
MockOverscrollObserver() {}
virtual ~MockOverscrollObserver() {}
virtual void WaitForUpdate() = 0;
virtual void WaitForEnd() = 0;
virtual void Reset() = 0;
};
} // namespace content
#endif // CONTENT_TEST_MOCK_OVERSCROLL_OBSERVER_H_