// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/input/hit_test_opaqueness.h" #include "base/check_op.h" #include "base/notreached.h" namespace cc { namespace { // Returns true if UnionRects(rect1, rect2) doesn't have any area not covered // by either rect1 or rect2. bool UnionIsTight(const gfx::Rect& rect1, const gfx::Rect& rect2) { … } } // anonymous namespace const char* HitTestOpaquenessToString(HitTestOpaqueness opaqueness) { … } HitTestOpaqueness UnionHitTestOpaqueness(const gfx::Rect& rect1, HitTestOpaqueness opaqueness1, const gfx::Rect& rect2, HitTestOpaqueness opaqueness2) { … } } // namespace cc