accessibility_focus_ring_info.cc 796 B

123456789101112131415161718192021
  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. #include "ash/public/cpp/accessibility_focus_ring_info.h"
  5. namespace ash {
  6. AccessibilityFocusRingInfo::AccessibilityFocusRingInfo() = default;
  7. AccessibilityFocusRingInfo::~AccessibilityFocusRingInfo() = default;
  8. bool AccessibilityFocusRingInfo::operator==(
  9. const AccessibilityFocusRingInfo& other) const {
  10. return rects_in_screen == other.rects_in_screen &&
  11. behavior == other.behavior && type == other.type &&
  12. stacking_order == other.stacking_order && color == other.color &&
  13. secondary_color == other.secondary_color &&
  14. background_color == other.background_color;
  15. }
  16. } // namespace ash