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

Unified Diff: remoting/client/ui/direct_input_strategy.h

Issue 2882653004: [CRD iOS] Injecting scroll events w/ fling animation (Closed)
Patch Set: Rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/client/ui/direct_input_strategy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ui/direct_input_strategy.h
diff --git a/remoting/client/ui/direct_input_strategy.h b/remoting/client/ui/direct_input_strategy.h
index aaa2b5a640a18a3174983e19745d837efdabcda2..c1657c376f0eb94e85e3bd8fdc10e5a30fc7d335 100644
--- a/remoting/client/ui/direct_input_strategy.h
+++ b/remoting/client/ui/direct_input_strategy.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_CLIENT_UI_SIMULATED_TOUCH_INPUT_STRATEGY_H_
-#define REMOTING_CLIENT_UI_SIMULATED_TOUCH_INPUT_STRATEGY_H_
+#ifndef REMOTING_CLIENT_UI_DIRECT_INPUT_STRATEGY_H_
+#define REMOTING_CLIENT_UI_DIRECT_INPUT_STRATEGY_H_
#include "remoting/client/ui/input_strategy.h"
@@ -32,6 +32,10 @@ class DirectInputStrategy : public InputStrategy {
ViewMatrix::Point GetCursorPosition() const override;
+ ViewMatrix::Vector2D MapScreenVectorToDesktop(
+ const ViewMatrix::Vector2D& delta,
+ const DesktopViewport& viewport) const override;
+
float GetFeedbackRadius(InputFeedbackType type) const override;
bool IsCursorVisible() const override;
@@ -45,4 +49,4 @@ class DirectInputStrategy : public InputStrategy {
};
} // namespace remoting
-#endif // REMOTING_CLIENT_UI_SIMULATED_TOUCH_INPUT_STRATEGY_H_
+#endif // REMOTING_CLIENT_UI_DIRECT_INPUT_STRATEGY_H_
« no previous file with comments | « no previous file | remoting/client/ui/direct_input_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698