1 // Copyright 2017 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 
5 #include "ui/aura/test/test_window_targeter.h"
6 
7 namespace aura {
8 namespace test {
9 
TestWindowTargeter()10 TestWindowTargeter::TestWindowTargeter() {}
11 
~TestWindowTargeter()12 TestWindowTargeter::~TestWindowTargeter() {}
13 
FindTargetForEvent(ui::EventTarget * root,ui::Event * event)14 ui::EventTarget* TestWindowTargeter::FindTargetForEvent(ui::EventTarget* root,
15                                                         ui::Event* event) {
16   return root;
17 }
18 
FindNextBestTarget(ui::EventTarget * previous_target,ui::Event * event)19 ui::EventTarget* TestWindowTargeter::FindNextBestTarget(
20     ui::EventTarget* previous_target,
21     ui::Event* event) {
22   return previous_target;
23 }
24 
25 }  // namespace test
26 }  // namespace aura
27