OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PEPPER_MOUSE_LOCKER_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_MOUSE_LOCKER_H_ |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_MOUSE_LOCKER_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_MOUSE_LOCKER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "ppapi/cpp/mouse_lock.h" | 11 #include "ppapi/cpp/mouse_lock.h" |
11 #include "ppapi/utility/completion_callback_factory.h" | 12 #include "ppapi/utility/completion_callback_factory.h" |
12 #include "remoting/protocol/cursor_shape_stub.h" | 13 #include "remoting/protocol/cursor_shape_stub.h" |
13 | 14 |
14 namespace pp { | 15 namespace pp { |
15 class Instance; | 16 class Instance; |
16 } // namespace pp | 17 } // namespace pp |
17 | 18 |
18 namespace remoting { | 19 namespace remoting { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 78 |
78 // Holds the current mouse lock state. | 79 // Holds the current mouse lock state. |
79 MouseLockState mouse_lock_state_; | 80 MouseLockState mouse_lock_state_; |
80 | 81 |
81 DISALLOW_COPY_AND_ASSIGN(PepperMouseLocker); | 82 DISALLOW_COPY_AND_ASSIGN(PepperMouseLocker); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace remoting | 85 } // namespace remoting |
85 | 86 |
86 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_MOUSE_LOCKER_H_ | 87 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_MOUSE_LOCKER_H_ |
OLD | NEW |