OLD | NEW |
---|---|
(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_SYNTHETIC_GESTURE_TARGET_MAC_H_ | |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_MAC_H_ | |
7 | |
8 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" | |
9 #include "content/browser/renderer_host/render_widget_host_view_mac.h" | |
10 #include "content/common/input/synthetic_gesture_params.h" | |
11 | |
12 namespace content { | |
13 | |
14 // SyntheticGestureTarget implementation for mac | |
15 class SyntheticGestureTargetMac : public SyntheticGestureTargetBase { | |
16 public: | |
17 explicit SyntheticGestureTargetMac(RenderWidgetHostImpl* host, | |
jdduke (slow)
2015/09/22 21:58:49
Nit: Not sure we need "explicit" for multi-arg con
ericrk
2015/09/22 22:08:49
we don't - wish there was a lint check for this on
| |
18 RenderWidgetHostViewCocoa* cocoa_view); | |
19 | |
20 // SyntheticGestureTarget: | |
21 void DispatchInputEventToPlatform(const blink::WebInputEvent& event) override; | |
22 | |
23 private: | |
24 RenderWidgetHostViewCocoa* cocoa_view_; | |
25 | |
26 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetMac); | |
27 }; | |
28 | |
29 } // namespace content | |
30 | |
31 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_MAC_H_ | |
OLD | NEW |