hud_properties.h 714 B

123456789101112131415161718192021222324
  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_HUD_DISPLAY_HUD_PROPERTIES_H_
  5. #define ASH_HUD_DISPLAY_HUD_PROPERTIES_H_
  6. #include "ash/ash_export.h"
  7. #include "ui/base/class_property.h"
  8. #include "ui/base/hit_test.h"
  9. namespace ash {
  10. namespace hud_display {
  11. // Marks view as Click event handler to make clicks on the other area drag the
  12. // whole HUD.
  13. extern const ui::ClassProperty<HitTestCompat>* const kHUDClickHandler;
  14. } // namespace hud_display
  15. } // namespace ash
  16. DECLARE_EXPORTED_UI_CLASS_PROPERTY_TYPE(ASH_EXPORT, HitTestCompat)
  17. #endif // ASH_HUD_DISPLAY_HUD_PROPERTIES_H_