OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2007, 2008, 2009 Google, Inc. All rights reserved. | 3 * Copyright (C) 2007, 2008, 2009 Google, Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 14 matching lines...) Expand all Loading... |
25 */ | 25 */ |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 | 28 |
29 #include "NPV8Object.h" | 29 #include "NPV8Object.h" |
30 | 30 |
31 #include "DOMWindow.h" | 31 #include "DOMWindow.h" |
32 #include "Frame.h" | 32 #include "Frame.h" |
33 #include "NPObjectWrapper.h" | 33 #include "NPObjectWrapper.h" |
34 #include <wtf/OwnArrayPtr.h> | 34 #include <wtf/OwnArrayPtr.h> |
| 35 #include "ScriptController.h" |
35 #include "ScriptSourceCode.h" | 36 #include "ScriptSourceCode.h" |
36 #include "UserGestureIndicator.h" | 37 #include "UserGestureIndicator.h" |
37 #include "V8Binding.h" | 38 #include "V8Binding.h" |
38 #include "V8GCController.h" | 39 #include "V8GCController.h" |
39 #include "V8NPUtils.h" | 40 #include "V8NPUtils.h" |
40 #include "WrapperTypeInfo.h" | 41 #include "WrapperTypeInfo.h" |
41 #include "npruntime_impl.h" | 42 #include "npruntime_impl.h" |
42 #include "npruntime_priv.h" | 43 #include "npruntime_priv.h" |
43 | 44 |
44 #include <stdio.h> | 45 #include <stdio.h> |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 | 589 |
589 convertV8ObjectToNPVariant(resultObject, npObject, result); | 590 convertV8ObjectToNPVariant(resultObject, npObject, result); |
590 return true; | 591 return true; |
591 } | 592 } |
592 | 593 |
593 if (NP_CLASS_STRUCT_VERSION_HAS_CTOR(npObject->_class) && npObject->_class->
construct) | 594 if (NP_CLASS_STRUCT_VERSION_HAS_CTOR(npObject->_class) && npObject->_class->
construct) |
594 return npObject->_class->construct(npObject, arguments, argumentCount, r
esult); | 595 return npObject->_class->construct(npObject, arguments, argumentCount, r
esult); |
595 | 596 |
596 return false; | 597 return false; |
597 } | 598 } |
OLD | NEW |