| OLD | NEW |
| (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_ |
| OLD | NEW |