1 // Copyright (c) 2012 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_WEB_INPUT_EVENT_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_
8 #include "content/common/content_export.h"
9 #include "third_party/WebKit/public/web/WebInputEvent.h"
15 class MouseWheelEvent
;
22 // Used for scrolling. This matches Firefox behavior.
23 const int kPixelsPerTick
= 53;
25 CONTENT_EXPORT
blink::WebMouseEvent
MakeWebMouseEvent(
26 ui::MouseEvent
* event
);
27 CONTENT_EXPORT
blink::WebMouseWheelEvent
MakeWebMouseWheelEvent(
28 ui::MouseWheelEvent
* event
);
29 CONTENT_EXPORT
blink::WebMouseWheelEvent
MakeWebMouseWheelEvent(
30 ui::ScrollEvent
* event
);
31 CONTENT_EXPORT
blink::WebKeyboardEvent
MakeWebKeyboardEvent(
33 CONTENT_EXPORT
blink::WebGestureEvent
MakeWebGestureEvent(
34 ui::GestureEvent
* event
);
35 CONTENT_EXPORT
blink::WebGestureEvent
MakeWebGestureEvent(
36 ui::ScrollEvent
* event
);
37 CONTENT_EXPORT
blink::WebGestureEvent
MakeWebGestureEventFlingCancel();
39 } // namespace content
41 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_