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 #ifndef PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ |
6 #define PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 class PPAPI_SHARED_EXPORT PPB_DeviceRef_Shared | 32 class PPAPI_SHARED_EXPORT PPB_DeviceRef_Shared |
33 : public Resource, | 33 : public Resource, |
34 public thunk::PPB_DeviceRef_API { | 34 public thunk::PPB_DeviceRef_API { |
35 public: | 35 public: |
36 PPB_DeviceRef_Shared(ResourceObjectType type, | 36 PPB_DeviceRef_Shared(ResourceObjectType type, |
37 PP_Instance instance, | 37 PP_Instance instance, |
38 const DeviceRefData& data); | 38 const DeviceRefData& data); |
39 | 39 |
40 // Resource overrides. | 40 // Resource overrides. |
41 virtual PPB_DeviceRef_API* AsPPB_DeviceRef_API() OVERRIDE; | 41 virtual PPB_DeviceRef_API* AsPPB_DeviceRef_API() override; |
42 | 42 |
43 // PPB_DeviceRef_API implementation. | 43 // PPB_DeviceRef_API implementation. |
44 virtual const DeviceRefData& GetDeviceRefData() const OVERRIDE; | 44 virtual const DeviceRefData& GetDeviceRefData() const override; |
45 virtual PP_DeviceType_Dev GetType() OVERRIDE; | 45 virtual PP_DeviceType_Dev GetType() override; |
46 virtual PP_Var GetName() OVERRIDE; | 46 virtual PP_Var GetName() override; |
47 | 47 |
48 private: | 48 private: |
49 DeviceRefData data_; | 49 DeviceRefData data_; |
50 | 50 |
51 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_DeviceRef_Shared); | 51 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_DeviceRef_Shared); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace ppapi | 54 } // namespace ppapi |
55 | 55 |
56 #endif // PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ | 56 #endif // PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ |
OLD | NEW |