user_education_class_properties.h 909 B

12345678910111213141516171819202122
  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 COMPONENTS_USER_EDUCATION_COMMON_USER_EDUCATION_CLASS_PROPERTIES_H_
  5. #define COMPONENTS_USER_EDUCATION_COMMON_USER_EDUCATION_CLASS_PROPERTIES_H_
  6. #include "ui/base/class_property.h"
  7. namespace user_education {
  8. // Set to true for a UI elements that support ui::PropertyHandler if a help
  9. // bubble is showing for that element. The element can respond however is
  10. // appropriate, e.g. with a highlight or a color change.
  11. //
  12. // Individual help bubble [factory] implementations should set this value, as
  13. // not all UI elements implement ui::PropertyHandler.
  14. extern const ui::ClassProperty<bool>* const kHasInProductHelpPromoKey;
  15. } // namespace user_education
  16. #endif // COMPONENTS_USER_EDUCATION_COMMON_USER_EDUCATION_CLASS_PROPERTIES_H_