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

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

Issue 2879743002: [CRD iOS] Hook the touch input feedback (Closed)
Patch Set: Use the ui task poster 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_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698