chromium/ui/events/test/test_event_target.cc

// 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/events/test/test_event_target.h"

#include <algorithm>
#include <utility>

#include "ui/events/event.h"
#include "ui/events/event_target_iterator.h"
#include "ui/events/event_targeter.h"

namespace ui {
namespace test {

TestEventTarget::TestEventTarget()
    :{}
TestEventTarget::~TestEventTarget() {}

void TestEventTarget::AddChild(std::unique_ptr<TestEventTarget> child) {}

std::unique_ptr<TestEventTarget> TestEventTarget::RemoveChild(
    TestEventTarget* c) {}

void TestEventTarget::SetEventTargeter(
    std::unique_ptr<EventTargeter> targeter) {}

bool TestEventTarget::DidReceiveEvent(ui::EventType type) const {}

void TestEventTarget::ResetReceivedEvents() {}

////////////////////////////////////////////////////////////////////////////////
// TestEventTarget, protected

bool TestEventTarget::CanAcceptEvent(const ui::Event& event) {}

EventTarget* TestEventTarget::GetParentTarget() {}

std::unique_ptr<EventTargetIterator> TestEventTarget::GetChildIterator() const {}

EventTargeter* TestEventTarget::GetEventTargeter() {}

void TestEventTarget::OnEvent(Event* event) {}

////////////////////////////////////////////////////////////////////////////////
// TestEventTarget, private

bool TestEventTarget::Contains(TestEventTarget* target) const {}

}  // namespace test
}  // namespace ui