[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / ui / views / view_targeter_delegate.cc
blob5527742ee742935b14124af863e4d1680ee01b73
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"
8 namespace views {
10 bool ViewTargeterDelegate::DoesIntersectRect(const View* target,
11 const gfx::Rect& rect) const {
12 return target->GetLocalBounds().Intersects(rect);
15 } // namespace views