Chromium Code Reviews| Index: ui/events/base_event_utils.h |
| diff --git a/ui/events/base_event_utils.h b/ui/events/base_event_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9907faeecc0f51b8b5f9b358a0c90520e957f404 |
| --- /dev/null |
| +++ b/ui/events/base_event_utils.h |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2015 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 UI_EVENTS_BASE_EVENT_UTILS_H_ |
| +#define UI_EVENTS_BASE_EVENT_UTILS_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "ui/events/events_base_export.h" |
| + |
| +namespace ui { |
| + |
| +// Generate an unique identifier for events. |
| +EVENTS_BASE_EXPORT uint32 GetNextTouchEventId(); |
| + |
|
sadrul
2015/04/23 16:56:23
Why not add this in event_utils.h instead?
tdresser
2015/04/23 17:13:19
Is event_utils.h included on Android?
sadrul
2015/04/23 17:16:28
If it's not, can it be?
lanwei
2015/04/24 20:21:09
I add a comment to clarify that event_utils.h will
|
| +} // namespace ui |
| + |
| +#endif // UI_EVENTS_BASE_EVENT_UTILS_H_ |