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
   29

ash / system / tray / unfocusable_label.h [blame]

// Copyright 2019 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_SYSTEM_TRAY_UNFOCUSABLE_LABEL_H_
#define ASH_SYSTEM_TRAY_UNFOCUSABLE_LABEL_H_

#include "ash/ash_export.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/views/controls/label.h"

namespace ash {

// A label which is not focusable with ChromeVox.
class ASH_EXPORT UnfocusableLabel : public views::Label {
  METADATA_HEADER(UnfocusableLabel, views::Label)

 public:
  UnfocusableLabel();

  UnfocusableLabel(const UnfocusableLabel&) = delete;
  UnfocusableLabel& operator=(const UnfocusableLabel&) = delete;

  ~UnfocusableLabel() override;
};

}  // namespace ash

#endif  // ASH_SYSTEM_TRAY_UNFOCUSABLE_LABEL_H_