// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_TEST_TEST_EVENT_TARGETER_H_ #define UI_EVENTS_TEST_TEST_EVENT_TARGETER_H_ #include "base/memory/raw_ptr.h" #include "ui/events/event_targeter.h" namespace ui { namespace test { class TestEventTarget; // An EventTargeter which is used to allow a bubbling behaviour in event // dispatch: if an event is not handled after being dispatched to its // |initial_target|, the event is dispatched to the next-best target as // specified by FindNextBestTarget(). // Bubbling behaviour is controlled by |should_bubble| at creation time. class TestEventTargeter : public EventTargeter { … }; } // namespace test } // namespace ui #endif // UI_EVENTS_TEST_TEST_EVENT_TARGETER_H_