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

Unified Diff: content/browser/renderer_host/input/synthetic_pointer_gesture.h

Issue 1474803002: Rename SyntheticPointerGesture to SyntheticPointerAction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/synthetic_pointer_gesture.h
diff --git a/content/browser/renderer_host/input/synthetic_pointer_gesture.h b/content/browser/renderer_host/input/synthetic_pointer_gesture.h
deleted file mode 100644
index bbadc7dab786ffe4552a7ec33b030d403fa14058..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/input/synthetic_pointer_gesture.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_POINTER_GESTURE_H_
-#define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_POINTER_GESTURE_H_
-
-#include "base/macros.h"
-#include "content/browser/renderer_host/input/synthetic_gesture.h"
-#include "content/browser/renderer_host/input/synthetic_gesture_target.h"
-#include "content/browser/renderer_host/input/synthetic_pointer.h"
-#include "content/common/content_export.h"
-
-namespace content {
-
-class CONTENT_EXPORT SyntheticPointerGesture : public SyntheticGesture {
- public:
- SyntheticPointerGesture(
- SyntheticGestureParams::GestureSourceType gesture_source_type,
- PointerActionType pointer_action_type,
- SyntheticPointer* synthetic_pointer,
- gfx::PointF position,
- int index = 0);
- ~SyntheticPointerGesture() override;
-
- SyntheticGesture::Result ForwardInputEvents(
- const base::TimeTicks& timestamp,
- SyntheticGestureTarget* target) override;
-
- void ForwardTouchOrMouseInputEvents(const base::TimeTicks& timestamp,
- SyntheticGestureTarget* target);
-
- private:
- SyntheticGestureParams::GestureSourceType gesture_source_type_;
- PointerActionType pointer_action_type_;
- gfx::PointF position_;
- int index_;
- SyntheticPointer* synthetic_pointer_;
-
- DISALLOW_COPY_AND_ASSIGN(SyntheticPointerGesture);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_POINTER_GESTURE_H_

Powered by Google App Engine
This is Rietveld 408576698