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

Side by Side Diff: remoting/client/renderer_facade.h

Issue 2879743002: [CRD iOS] Hook the touch input feedback (Closed)
Patch Set: Just use ViewMatrix::Point. No more out-pointers... 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 REMOTING_CLIENT_RENDERER_FACADE_H_
6 #define REMOTING_CLIENT_RENDERER_FACADE_H_
7
8 namespace remoting {
9
10 class ViewMatrix;
11
12 // An interface for controlling the renderer.
13 // TODO(yuweih): This should be removed once we have moved Drawables out of
14 // GlRenderer.
15 class RendererFacade {
16 public:
17 virtual ~RendererFacade() {}
18
19 // These functions will eventually call the corresponding functions in
20 // GlRenderer. Please reference to GlRenderer for more details.
21 virtual void SetTransformation(const ViewMatrix& transformation) = 0;
22 virtual void SetCursorPosition(float x, float y) = 0;
23 virtual void SetCursorVisibility(bool visible) = 0;
24 virtual void StartInputFeedback(float x, float y, float diameter) = 0;
25 };
26
27 } // namespace remoting
28 #endif // REMOTING_CLIENT_RENDERER_FACADE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698