| OLD | NEW |
| 1 // Copyright 2011, Google Inc. | 1 // Copyright 2011, Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 | 29 |
| 30 #ifndef DartUtilities_h | 30 #ifndef DartUtilities_h |
| 31 #define DartUtilities_h | 31 #define DartUtilities_h |
| 32 | 32 |
| 33 |
| 34 #include "DartClassIds.h" |
| 35 |
| 33 #include "bindings/dart/DartDOMData.h" | 36 #include "bindings/dart/DartDOMData.h" |
| 34 #include "bindings/dart/DartStringCache.h" | 37 #include "bindings/dart/DartStringCache.h" |
| 35 #include "bindings/v8/V8RecursionScope.h" | 38 #include "bindings/v8/V8RecursionScope.h" |
| 36 #include "core/dom/DOMStringList.h" | 39 #include "core/dom/DOMStringList.h" |
| 37 #include "core/dom/MessagePort.h" | 40 #include "core/dom/MessagePort.h" |
| 38 #include "modules/mediastream/MediaStreamTrack.h" | 41 #include "modules/mediastream/MediaStreamTrack.h" |
| 39 | 42 |
| 40 #include <dart_api.h> | 43 #include <dart_api.h> |
| 41 #include <wtf/ArrayBufferView.h> | 44 #include <wtf/ArrayBufferView.h> |
| 42 #include <wtf/HashMap.h> | 45 #include <wtf/HashMap.h> |
| (...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 } | 641 } |
| 639 }; | 642 }; |
| 640 | 643 |
| 641 | 644 |
| 642 #define DART_UNIMPLEMENTED_EXCEPTION() DartUtilities::notImplementedException(__
FILE__, __LINE__) | 645 #define DART_UNIMPLEMENTED_EXCEPTION() DartUtilities::notImplementedException(__
FILE__, __LINE__) |
| 643 #define DART_UNIMPLEMENTED() Dart_ThrowException(DART_UNIMPLEMENTED_EXCEPTION())
; | 646 #define DART_UNIMPLEMENTED() Dart_ThrowException(DART_UNIMPLEMENTED_EXCEPTION())
; |
| 644 | 647 |
| 645 } // namespace WebCore | 648 } // namespace WebCore |
| 646 | 649 |
| 647 #endif // DartUtilities_h | 650 #endif // DartUtilities_h |
| OLD | NEW |