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

Side by Side Diff: content/browser/renderer_host/input/web_input_event_builders_mac.h

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase Created 3 years, 11 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 unified diff | Download patch
OLDNEW
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/WebKeyboardEvent.h"
11 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" 12 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
12 13
13 @class NSEvent; 14 @class NSEvent;
14 @class NSView; 15 @class NSView;
15 16
16 namespace content { 17 namespace content {
17 18
18 class CONTENT_EXPORT WebKeyboardEventBuilder { 19 class CONTENT_EXPORT WebKeyboardEventBuilder {
19 public: 20 public:
20 static blink::WebKeyboardEvent Build(NSEvent* event); 21 static blink::WebKeyboardEvent Build(NSEvent* event);
(...skipping 11 matching lines...) Expand all
32 }; 33 };
33 34
34 class CONTENT_EXPORT WebGestureEventBuilder { 35 class CONTENT_EXPORT WebGestureEventBuilder {
35 public: 36 public:
36 static blink::WebGestureEvent Build(NSEvent*, NSView*); 37 static blink::WebGestureEvent Build(NSEvent*, NSView*);
37 }; 38 };
38 39
39 } // namespace content 40 } // namespace content
40 41
41 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_ 42 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/web_input_event_builders_android.h ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698