OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_CLIENT_PLUGIN_EMPTY_CURSOR_FILTER_H_ | 5 #ifndef REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ |
6 #define REMOTING_CLIENT_PLUGIN_EMPTY_CURSOR_FILTER_H_ | 6 #define REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ |
7 | 7 |
8 #include "remoting/protocol/cursor_shape_stub.h" | 8 #include "remoting/protocol/cursor_shape_stub.h" |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
11 | 11 |
12 // Returns an empty cursor. | 12 // Returns an empty cursor. |
13 protocol::CursorShapeInfo EmptyCursorShape(); | 13 protocol::CursorShapeInfo EmptyCursorShape(); |
14 | 14 |
15 // Returns true of the supplied cursor is empty, i.e. width and/or height <= 0. | 15 // Returns true of the supplied cursor is empty, i.e. width and/or height <= 0. |
16 bool IsCursorShapeEmpty(const protocol::CursorShapeInfo& cursor_shape); | 16 bool IsCursorShapeEmpty(const protocol::CursorShapeInfo& cursor_shape); |
(...skipping 16 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 private: | 35 private: |
36 protocol::CursorShapeStub* cursor_stub_; | 36 protocol::CursorShapeStub* cursor_stub_; |
37 | 37 |
38 DISALLOW_COPY_AND_ASSIGN(EmptyCursorFilter); | 38 DISALLOW_COPY_AND_ASSIGN(EmptyCursorFilter); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace remoting | 41 } // namespace remoting |
42 | 42 |
43 #endif // REMOTING_CLIENT_PLUGIN_EMPTY_CURSOR_FILTER_H_ | 43 #endif // REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ |
OLD | NEW |