OLD | NEW |
1 // Copyright 2015 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_EMPTY_CURSOR_FILTER_H_ | 5 #ifndef REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ |
6 #define REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ | 6 #define REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "remoting/protocol/cursor_shape_stub.h" | 9 #include "remoting/protocol/cursor_shape_stub.h" |
9 | 10 |
10 namespace remoting { | 11 namespace remoting { |
11 | 12 |
12 // Returns an empty cursor. | 13 // Returns an empty cursor. |
13 protocol::CursorShapeInfo EmptyCursorShape(); | 14 protocol::CursorShapeInfo EmptyCursorShape(); |
14 | 15 |
15 // Returns true of the supplied cursor is empty, i.e. width and/or height <= 0. | 16 // Returns true of the supplied cursor is empty, i.e. width and/or height <= 0. |
16 bool IsCursorShapeEmpty(const protocol::CursorShapeInfo& cursor_shape); | 17 bool IsCursorShapeEmpty(const protocol::CursorShapeInfo& cursor_shape); |
17 | 18 |
(...skipping 16 matching lines...) Expand all Loading... |
34 | 35 |
35 private: | 36 private: |
36 protocol::CursorShapeStub* cursor_stub_; | 37 protocol::CursorShapeStub* cursor_stub_; |
37 | 38 |
38 DISALLOW_COPY_AND_ASSIGN(EmptyCursorFilter); | 39 DISALLOW_COPY_AND_ASSIGN(EmptyCursorFilter); |
39 }; | 40 }; |
40 | 41 |
41 } // namespace remoting | 42 } // namespace remoting |
42 | 43 |
43 #endif // REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ | 44 #endif // REMOTING_CLIENT_EMPTY_CURSOR_FILTER_H_ |
OLD | NEW |