Index: content/browser/renderer_host/input/web_input_event_util.h |
diff --git a/content/browser/renderer_host/input/web_input_event_util.h b/content/browser/renderer_host/input/web_input_event_util.h |
index c4b1a8c47a6d2e2101ce0e4afe969fb2de79c7b3..812a2274a3b814ff2adb45320deca6a8ba309d2a 100644 |
--- a/content/browser/renderer_host/input/web_input_event_util.h |
+++ b/content/browser/renderer_host/input/web_input_event_util.h |
@@ -11,6 +11,7 @@ |
#include "ui/events/keycodes/keyboard_codes.h" |
namespace ui { |
+enum class DomCode; |
struct GestureEventData; |
struct GestureEventDetails; |
class MotionEvent; |
@@ -18,14 +19,11 @@ class MotionEvent; |
namespace content { |
-// Update |event|'s windowsKeyCode and keyIdentifer properties using the |
-// provided |windows_key_code|. |
-CONTENT_EXPORT void UpdateWindowsKeyCodeAndKeyIdentifier( |
- blink::WebKeyboardEvent* event, |
- ui::KeyboardCode windows_key_code); |
- |
int WebEventModifiersToEventFlags(int modifiers); |
+blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers( |
+ ui::DomCode code); |
+ |
} // namespace content |
#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_ |