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

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

Issue 1349813002: Enable pinch-zoom telemetry on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@telemetry
Patch Set: feedback 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_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 SyntheticGestureTargetMac(RenderWidgetHostImpl* host,
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698