unfocusable_label.h 781 B

123456789101112131415161718192021222324252627
  1. // Copyright 2019 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_TRAY_UNFOCUSABLE_LABEL_H_
  5. #define ASH_SYSTEM_TRAY_UNFOCUSABLE_LABEL_H_
  6. #include "ash/ash_export.h"
  7. #include "ui/views/controls/label.h"
  8. namespace ash {
  9. // A label which is not focusable with ChromeVox.
  10. class ASH_EXPORT UnfocusableLabel : public views::Label {
  11. public:
  12. UnfocusableLabel() = default;
  13. UnfocusableLabel(const UnfocusableLabel&) = delete;
  14. UnfocusableLabel& operator=(const UnfocusableLabel&) = delete;
  15. ~UnfocusableLabel() override;
  16. void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
  17. };
  18. } // namespace ash
  19. #endif // ASH_SYSTEM_TRAY_UNFOCUSABLE_LABEL_H_