Chromium Code Reviews| 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_RENDER_STUB_H_ | |
| 6 #define REMOTING_CLIENT_RENDER_STUB_H_ | |
| 7 | |
| 8 namespace remoting { | |
| 9 | |
| 10 class ViewMatrix; | |
| 11 | |
| 12 // An interface for controlling the renderer. | |
| 13 class RenderStub { | |
|
nicholss
2017/05/12 21:42:40
Yeah stub is wrong. Stub would be the class you us
Yuwei
2017/05/13 00:41:52
Fixed.
| |
| 14 public: | |
| 15 virtual ~RenderStub() {} | |
| 16 | |
| 17 virtual void SetTransformation(const ViewMatrix& transformation) = 0; | |
|
nicholss
2017/05/12 21:42:40
These methods need documentation please.
Yuwei
2017/05/13 00:41:52
Done. Added a comment that points to GlRenderer :P
| |
| 18 virtual void SetCursorPosition(float x, float y) = 0; | |
| 19 virtual void SetCursorVisibility(bool visible) = 0; | |
| 20 virtual void StartInputFeedback(float x, float y, float diameter) = 0; | |
| 21 }; | |
| 22 | |
| 23 } // namespace remoting | |
| 24 #endif // REMOTING_CLIENT_RENDER_STUB_H_ | |
| OLD | NEW |