Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: content/browser/renderer_host/input/web_input_event_util.h

Issue 1331013004: [KeyEvent Mac] Move WebInputEventFactory into chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove forward declare as the bot got updated Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a05a929ba071eeea671cb17bd12b67f1682d2740 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;
@@ -26,6 +27,9 @@ CONTENT_EXPORT void UpdateWindowsKeyCodeAndKeyIdentifier(
int WebEventModifiersToEventFlags(int modifiers);
+blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers(
+ ui::DomCode code);
+
} // namespace content
#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698