1 // Copyright 2013 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/events/test/test_event_processor.h"
7 #include "ui/events/event_target.h"
12 TestEventProcessor::TestEventProcessor() {}
13 TestEventProcessor::~TestEventProcessor() {}
15 void TestEventProcessor::SetRoot(scoped_ptr
<EventTarget
> root
) {
19 bool TestEventProcessor::CanDispatchToTarget(EventTarget
* target
) {
23 EventTarget
* TestEventProcessor::GetRootTarget() {
27 EventDispatchDetails
TestEventProcessor::OnEventFromSource(Event
* event
) {
28 return EventProcessor::OnEventFromSource(event
);