| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 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. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_ | |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #include "base/time/time.h" | |
| 11 #include "content/common/content_export.h" | |
| 12 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
| 13 #include "ui/events/keycodes/keyboard_codes.h" | |
| 14 | |
| 15 namespace ui { | |
| 16 enum class DomCode; | |
| 17 struct GestureEventData; | |
| 18 struct GestureEventDetails; | |
| 19 } | |
| 20 | |
| 21 namespace content { | |
| 22 | |
| 23 int WebEventModifiersToEventFlags(int modifiers); | |
| 24 | |
| 25 blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers( | |
| 26 ui::DomCode code); | |
| 27 | |
| 28 } // namespace content | |
| 29 | |
| 30 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_ | |
| OLD | NEW |