autozoom_nudge.h 928 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2022 The Chromium 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. #ifndef ASH_SYSTEM_CAMERA_AUTOZOOM_NUDGE_H_
  5. #define ASH_SYSTEM_CAMERA_AUTOZOOM_NUDGE_H_
  6. #include "ash/ash_export.h"
  7. #include "ash/system/tray/system_nudge.h"
  8. #include "ui/gfx/paint_vector_icon.h"
  9. namespace ash {
  10. // Implements a contextual nudge for multipaste.
  11. class ASH_EXPORT AutozoomNudge : public SystemNudge {
  12. public:
  13. AutozoomNudge();
  14. AutozoomNudge(const AutozoomNudge&) = delete;
  15. AutozoomNudge& operator=(const AutozoomNudge&) = delete;
  16. ~AutozoomNudge() override;
  17. protected:
  18. // SystemNudge:
  19. std::unique_ptr<SystemNudgeLabel> CreateLabelView() const override;
  20. const gfx::VectorIcon& GetIcon() const override;
  21. std::u16string GetAccessibilityText() const override;
  22. };
  23. } // namespace ash
  24. #endif // ASH_SYSTEM_CAMERA_AUTOZOOM_NUDGE_H_