// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/rect_based_targeting_utils.h" #include "ui/gfx/geometry/point.h" #include "ui/gfx/geometry/rect.h" namespace views { bool UsePointBasedTargeting(const gfx::Rect& rect) { … } float PercentCoveredBy(const gfx::Rect& rect_1, const gfx::Rect& rect_2) { … } int DistanceSquaredFromCenterToPoint(const gfx::Point& point, const gfx::Rect& rect) { … } } // namespace views