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

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

Issue 2478423002: Rename SyntheticPointer to SyntheticPointerDriver (Closed)
Patch Set: rename Created 4 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_touch_pointer.h
diff --git a/content/browser/renderer_host/input/synthetic_touch_pointer.h b/content/browser/renderer_host/input/synthetic_touch_pointer.h
deleted file mode 100644
index 728ec4c853d2edfec28af7ef8803c5d15d7d9df9..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/input/synthetic_touch_pointer.h
+++ /dev/null
@@ -1,47 +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_TOUCH_POINTER_H_
-#define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_TOUCH_POINTER_H_
-
-#include "base/macros.h"
-#include "content/browser/renderer_host/input/synthetic_pointer.h"
-#include "content/common/content_export.h"
-#include "content/common/input/synthetic_web_input_event_builders.h"
-
-namespace content {
-
-class CONTENT_EXPORT SyntheticTouchPointer : public SyntheticPointer {
- public:
- SyntheticTouchPointer();
- explicit SyntheticTouchPointer(SyntheticWebTouchEvent touch_event);
- ~SyntheticTouchPointer() override;
-
- void DispatchEvent(SyntheticGestureTarget* target,
- const base::TimeTicks& timestamp) override;
-
- int Press(float x,
- float y,
- SyntheticGestureTarget* target,
- const base::TimeTicks& timestamp) override;
- void Move(int index,
- float x,
- float y,
- SyntheticGestureTarget* target,
- const base::TimeTicks& timestamp) override;
- void Release(int index,
- SyntheticGestureTarget* target,
- const base::TimeTicks& timestamp) override;
-
- SyntheticGestureParams::GestureSourceType SourceType() const override;
-
- private:
- SyntheticWebTouchEvent touch_event_;
-
- DISALLOW_COPY_AND_ASSIGN(SyntheticTouchPointer);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_INPUT_SYNTHETIC_TOUCH_POINTER_H_

Powered by Google App Engine
This is Rietveld 408576698