12345678910111213141516171819202122232425 |
- // Copyright 2022 The Chromium 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 ASH_SYSTEM_CAMERA_AUTOZOOM_OBSERVER_H_
- #define ASH_SYSTEM_CAMERA_AUTOZOOM_OBSERVER_H_
- #include "base/observer_list_types.h"
- #include "media/capture/video/chromeos/mojom/cros_camera_service.mojom.h"
- namespace ash {
- class AutozoomObserver : public base::CheckedObserver {
- public:
- // Called when the autozoom state has changed.
- virtual void OnAutozoomStateChanged(
- cros::mojom::CameraAutoFramingState state) {}
- // Called when the autozoom control enabled state has changed.
- virtual void OnAutozoomControlEnabledChanged(bool enabled) {}
- };
- } // namespace ash
- #endif // ASH_SYSTEM_CAMERA_AUTOZOOM_OBSERVER_H_
|