1 // Copyright 2015 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_BUILDERS_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_
8 #include "content/common/content_export.h"
9 #include "third_party/WebKit/public/web/WebInputEvent.h"
16 class CONTENT_EXPORT WebKeyboardEventBuilder
{
18 static blink::WebKeyboardEvent
Build(NSEvent
* event
);
21 class CONTENT_EXPORT WebMouseEventBuilder
{
23 static blink::WebMouseEvent
Build(NSEvent
* event
, NSView
* view
);
26 class CONTENT_EXPORT WebMouseWheelEventBuilder
{
28 static blink::WebMouseWheelEvent
Build(NSEvent
* event
,
30 bool can_rubberband_left
,
31 bool can_rubberband_right
);
34 class CONTENT_EXPORT WebGestureEventBuilder
{
36 static blink::WebGestureEvent
Build(NSEvent
*, NSView
*);
39 } // namespace content
41 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_