OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Interface for an object that receives cursor shape events. | 5 // Interface for an object that receives cursor shape events. |
6 | 6 |
7 #ifndef REMOTING_PROTOCOL_CURSOR_SHAPE_STUB_H_ | 7 #ifndef REMOTING_PROTOCOL_CURSOR_SHAPE_STUB_H_ |
8 #define REMOTING_PROTOCOL_CURSOR_SHAPE_STUB_H_ | 8 #define REMOTING_PROTOCOL_CURSOR_SHAPE_STUB_H_ |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace remoting { | 12 namespace remoting { |
13 namespace protocol { | 13 namespace protocol { |
14 | 14 |
15 class CursorShapeInfo; | 15 class CursorShapeInfo; |
16 | 16 |
17 class CursorShapeStub { | 17 class CursorShapeStub { |
18 public: | 18 public: |
19 CursorShapeStub() {} | 19 CursorShapeStub() {} |
20 virtual ~CursorShapeStub() {} | 20 virtual ~CursorShapeStub() {} |
21 | 21 |
22 virtual void SetCursorShape(const CursorShapeInfo& cursor_shape) = 0; | 22 virtual void SetCursorShape(const CursorShapeInfo& cursor_shape) = 0; |
23 | 23 |
24 private: | 24 private: |
25 DISALLOW_COPY_AND_ASSIGN(CursorShapeStub); | 25 DISALLOW_COPY_AND_ASSIGN(CursorShapeStub); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace protocol | 28 } // namespace protocol |
29 } // namespace remoting | 29 } // namespace remoting |
30 | 30 |
31 #endif // REMOTING_PROTOCOL_CURSOR_SHAPE_STUB_H_ | 31 #endif // REMOTING_PROTOCOL_CURSOR_SHAPE_STUB_H_ |
OLD | NEW |