| Index: views/test/test_event_utils.h
|
| diff --git a/views/test/test_event_utils.h b/views/test/test_event_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6c35102329f24bd6c3d03f9ddb75f4b9236042a8
|
| --- /dev/null
|
| +++ b/views/test/test_event_utils.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef VIEWS_TEST_TEST_EVENT_UTILS_H_
|
| +#define VIEWS_TEST_TEST_EVENT_UTILS_H_
|
| +#pragma once
|
| +
|
| +#include "base/event_types.h"
|
| +#include "views/views_export.h"
|
| +
|
| +namespace views {
|
| +
|
| +// Get platform specific NativeEvent.
|
| +VIEWS_EXPORT base::NativeEvent GetNativeEventForTesting();
|
| +
|
| +// Set location of native event.
|
| +VIEWS_EXPORT void SetNativeEventLocationForTesting(
|
| + const base::NativeEvent& native_event,
|
| + int x, int y);
|
| +
|
| +} // namespace views
|
| +
|
| +#endif // VIEWS_TEST_TEST_EVENT_UTILS_H_
|
|
|