Update V8 to version 4.7.16.
[chromium-blink-merge.git] / ui / events / test / platform_event_source_test_api.cc
bloba54bfe813b4046dfe5acf12839daa9947b03b73b
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 #include "ui/events/test/platform_event_source_test_api.h"
7 #include "ui/events/platform/platform_event_source.h"
9 namespace ui {
10 namespace test {
12 PlatformEventSourceTestAPI::PlatformEventSourceTestAPI(
13 PlatformEventSource* event_source)
14 : event_source_(event_source) {}
16 PlatformEventSourceTestAPI::~PlatformEventSourceTestAPI() {}
18 void PlatformEventSourceTestAPI::Dispatch(PlatformEvent platform_event) {
19 event_source_->DispatchEvent(platform_event);
22 } // namespace test
23 } // namespace ui