| Index: remoting/client/renderer_facade.h
|
| diff --git a/remoting/client/renderer_facade.h b/remoting/client/renderer_facade.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..464aeff5e89dcdc0d9cbe4c7dd8aca8c9fdcf042
|
| --- /dev/null
|
| +++ b/remoting/client/renderer_facade.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_CLIENT_RENDERER_FACADE_H_
|
| +#define REMOTING_CLIENT_RENDERER_FACADE_H_
|
| +
|
| +namespace remoting {
|
| +
|
| +class ViewMatrix;
|
| +
|
| +// An interface for controlling the renderer.
|
| +// TODO(yuweih): This should be removed once we have moved Drawables out of
|
| +// GlRenderer.
|
| +class RendererFacade {
|
| + public:
|
| + virtual ~RendererFacade() {}
|
| +
|
| + // These functions will eventually call the corresponding functions in
|
| + // GlRenderer. Please reference to GlRenderer for more details.
|
| + virtual void SetTransformation(const ViewMatrix& transformation) = 0;
|
| + virtual void SetCursorPosition(float x, float y) = 0;
|
| + virtual void SetCursorVisibility(bool visible) = 0;
|
| + virtual void StartInputFeedback(float x, float y, float diameter) = 0;
|
| +};
|
| +
|
| +} // namespace remoting
|
| +#endif // REMOTING_CLIENT_RENDERER_FACADE_H_
|
|
|