1 // Copyright 2015 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 #ifndef UI_EVENTS_TEST_PLATFORM_EVENT_SOURCE_TEST_API_H_
6 #define UI_EVENTS_TEST_PLATFORM_EVENT_SOURCE_TEST_API_H_
8 #include "base/macros.h"
9 #include "ui/events/platform/platform_event_types.h"
13 class PlatformEventSource
;
17 class PlatformEventSourceTestAPI
{
19 explicit PlatformEventSourceTestAPI(PlatformEventSource
* event_source
);
20 ~PlatformEventSourceTestAPI();
22 void Dispatch(PlatformEvent platform_event
);
25 PlatformEventSource
* event_source_
;
27 DISALLOW_COPY_AND_ASSIGN(PlatformEventSourceTestAPI
);
33 #endif // UI_EVENTS_TEST_PLATFORM_EVENT_SOURCE_TEST_API_H_