| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "webkit/plugins/ppapi/v8_var_converter.h" | 5 #include "webkit/plugins/ppapi/v8_var_converter.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <stack> | 8 #include <stack> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "ppapi/shared_impl/array_var.h" | 14 #include "ppapi/shared_impl/array_var.h" |
| 15 #include "ppapi/shared_impl/dictionary_var.h" | 15 #include "ppapi/shared_impl/dictionary_var.h" |
| 16 #include "ppapi/shared_impl/var.h" | 16 #include "ppapi/shared_impl/var.h" |
| 17 #include "ppapi/shared_impl/var_tracker.h" | 17 #include "ppapi/shared_impl/var_tracker.h" |
| 18 #include "third_party/WebKit/public/web/WebArrayBuffer.h" | 18 #include "third_party/WebKit/public/platform/WebArrayBuffer.h" |
| 19 #include "webkit/plugins/ppapi/host_array_buffer_var.h" | 19 #include "webkit/plugins/ppapi/host_array_buffer_var.h" |
| 20 | 20 |
| 21 using ppapi::ArrayBufferVar; | 21 using ppapi::ArrayBufferVar; |
| 22 using ppapi::ArrayVar; | 22 using ppapi::ArrayVar; |
| 23 using ppapi::DictionaryVar; | 23 using ppapi::DictionaryVar; |
| 24 using ppapi::ScopedPPVar; | 24 using ppapi::ScopedPPVar; |
| 25 using ppapi::StringVar; | 25 using ppapi::StringVar; |
| 26 using std::make_pair; | 26 using std::make_pair; |
| 27 | 27 |
| 28 namespace { | 28 namespace { |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 } | 461 } |
| 462 } | 462 } |
| 463 } | 463 } |
| 464 *result = root.Release(); | 464 *result = root.Release(); |
| 465 return true; | 465 return true; |
| 466 } | 466 } |
| 467 | 467 |
| 468 } // namespace V8VarConverter | 468 } // namespace V8VarConverter |
| 469 } // namespace ppapi | 469 } // namespace ppapi |
| 470 } // namespace webkit | 470 } // namespace webkit |
| OLD | NEW |