Index: content/browser/renderer_host/input/web_input_event_posix.h |
diff --git a/content/browser/renderer_host/input/web_input_event_posix.h b/content/browser/renderer_host/input/web_input_event_posix.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f06c456067579b4a7bd3736f78e5bc58858a7f91 |
--- /dev/null |
+++ b/content/browser/renderer_host/input/web_input_event_posix.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2013 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_POSIX_H_ |
+#define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_POSIX_H_ |
+ |
+#include "third_party/WebKit/public/web/WebInputEvent.h" |
+#include "ui/base/keycodes/keyboard_codes.h" |
+ |
+namespace content { |
+ |
+ui::KeyboardCode GetWindowsKeyCodeWithoutLocation(ui::KeyboardCode key_code); |
+WebKit::WebInputEvent::Modifiers GetLocationModifiersFromWindowsKeyCode( |
+ ui::KeyboardCode key_code); |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_POSIX_H_ |