| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_ | 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_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "third_party/WebKit/public/platform/WebGestureEvent.h" | 9 #include "third_party/WebKit/public/platform/WebGestureEvent.h" |
| 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 11 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" |
| 11 | 12 |
| 12 @class NSEvent; | 13 @class NSEvent; |
| 13 @class NSView; | 14 @class NSView; |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 | 17 |
| 17 class CONTENT_EXPORT WebKeyboardEventBuilder { | 18 class CONTENT_EXPORT WebKeyboardEventBuilder { |
| 18 public: | 19 public: |
| 19 static blink::WebKeyboardEvent Build(NSEvent* event); | 20 static blink::WebKeyboardEvent Build(NSEvent* event); |
| 20 }; | 21 }; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 }; | 32 }; |
| 32 | 33 |
| 33 class CONTENT_EXPORT WebGestureEventBuilder { | 34 class CONTENT_EXPORT WebGestureEventBuilder { |
| 34 public: | 35 public: |
| 35 static blink::WebGestureEvent Build(NSEvent*, NSView*); | 36 static blink::WebGestureEvent Build(NSEvent*, NSView*); |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 } // namespace content | 39 } // namespace content |
| 39 | 40 |
| 40 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_ | 41 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_ |
| OLD | NEW |