1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ash / ambient / test / mock_ambient_view_observer.h [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_AMBIENT_TEST_MOCK_AMBIENT_VIEW_OBSERVER_H_
#define ASH_AMBIENT_TEST_MOCK_AMBIENT_VIEW_OBSERVER_H_
#include "ash/ambient/ui/ambient_view_delegate.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace ash {
class MockAmbientViewObserver : public AmbientViewDelegateObserver {
public:
MockAmbientViewObserver();
MockAmbientViewObserver(const MockAmbientViewObserver&) = delete;
MockAmbientViewObserver& operator=(const MockAmbientViewObserver&) = delete;
~MockAmbientViewObserver() override;
MOCK_METHOD(void,
OnMarkerHit,
(AmbientPhotoConfig::Marker marker),
(override));
};
} // namespace ash
#endif // ASH_AMBIENT_TEST_MOCK_AMBIENT_VIEW_OBSERVER_H_