1 // Copyright 2014 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.
5 #include "ui/views/view.h"
6 #include "ui/views/view_targeter_delegate.h"
10 bool ViewTargeterDelegate::DoesIntersectRect(const View
* target
,
11 const gfx::Rect
& rect
) const {
12 return target
->GetLocalBounds().Intersects(rect
);