OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SKY_ENGINE_TONIC_DART_WRAPPER_INFO_H_ |
| 6 #define SKY_ENGINE_TONIC_DART_WRAPPER_INFO_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace blink { |
| 11 class DartWrappable; |
| 12 |
| 13 typedef void (*DartWrappableAccepter)(DartWrappable*); |
| 14 |
| 15 struct DartWrapperInfo { |
| 16 const char* interface_name; |
| 17 const size_t size_in_bytes; |
| 18 const DartWrappableAccepter ref_object; |
| 19 const DartWrappableAccepter deref_object; |
| 20 |
| 21 private: |
| 22 DartWrapperInfo(const DartWrapperInfo&) = delete; |
| 23 DartWrapperInfo& operator=(const DartWrapperInfo&) = delete; |
| 24 }; |
| 25 |
| 26 } // namespace blink |
| 27 |
| 28 #endif // SKY_ENGINE_TONIC_DART_WRAPPER_INFO_H_ |
OLD | NEW |