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

Side by Side Diff: content/browser/renderer_host/input/web_input_event_builders_mac.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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
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_
7
8 #include "content/common/content_export.h"
9 #include "third_party/WebKit/public/web/WebInputEvent.h"
10
11 @class NSEvent;
12 @class NSView;
13
14 namespace content {
15
16 class CONTENT_EXPORT WebKeyboardEventBuilder {
17 public:
18 static blink::WebKeyboardEvent Build(NSEvent* event);
19 };
20
21 class CONTENT_EXPORT WebMouseEventBuilder {
22 public:
23 static blink::WebMouseEvent Build(NSEvent* event, NSView* view);
24 };
25
26 class CONTENT_EXPORT WebMouseWheelEventBuilder {
27 public:
28 static blink::WebMouseWheelEvent Build(NSEvent* event,
29 NSView* view,
30 bool can_rubberband_left,
31 bool can_rubberband_right);
32 };
33
34 class CONTENT_EXPORT WebGestureEventBuilder {
35 public:
36 static blink::WebGestureEvent Build(NSEvent*, NSView*);
37 };
38
39 } // namespace content
40
41 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/renderer_host/input/web_input_event_builders_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698