Use multiline attribute to check for IA2_STATE_MULTILINE.
[chromium-blink-merge.git] / content / browser / renderer_host / input / web_input_event_util.h
blobc4b1a8c47a6d2e2101ce0e4afe969fb2de79c7b3
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.
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_
8 #include "base/time/time.h"
9 #include "content/common/content_export.h"
10 #include "third_party/WebKit/public/web/WebInputEvent.h"
11 #include "ui/events/keycodes/keyboard_codes.h"
13 namespace ui {
14 struct GestureEventData;
15 struct GestureEventDetails;
16 class MotionEvent;
19 namespace content {
21 // Update |event|'s windowsKeyCode and keyIdentifer properties using the
22 // provided |windows_key_code|.
23 CONTENT_EXPORT void UpdateWindowsKeyCodeAndKeyIdentifier(
24 blink::WebKeyboardEvent* event,
25 ui::KeyboardCode windows_key_code);
27 int WebEventModifiersToEventFlags(int modifiers);
29 } // namespace content
31 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_