pinned_files_bubble.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2020 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_HOLDING_SPACE_PINNED_FILES_BUBBLE_H_
  5. #define ASH_SYSTEM_HOLDING_SPACE_PINNED_FILES_BUBBLE_H_
  6. #include <memory>
  7. #include <vector>
  8. #include "ash/system/holding_space/holding_space_tray_child_bubble.h"
  9. namespace ash {
  10. // Child bubble of `HoldingSpaceTrayBubble` for pinned files.
  11. class PinnedFilesBubble : public HoldingSpaceTrayChildBubble {
  12. public:
  13. explicit PinnedFilesBubble(HoldingSpaceViewDelegate* delegate);
  14. PinnedFilesBubble(const PinnedFilesBubble& other) = delete;
  15. PinnedFilesBubble& operator=(const PinnedFilesBubble& other) = delete;
  16. ~PinnedFilesBubble() override;
  17. // HoldingSpaceTrayChildBubble:
  18. const char* GetClassName() const override;
  19. std::vector<std::unique_ptr<HoldingSpaceItemViewsSection>> CreateSections()
  20. override;
  21. };
  22. } // namespace ash
  23. #endif // ASH_SYSTEM_HOLDING_SPACE_PINNED_FILES_BUBBLE_H_