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 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 4 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "platform/UserGestureIndicator.h" | 43 #include "platform/UserGestureIndicator.h" |
44 #include "wtf/OwnPtr.h" | 44 #include "wtf/OwnPtr.h" |
45 #include "wtf/StringExtras.h" | 45 #include "wtf/StringExtras.h" |
46 #include "wtf/text/WTFString.h" | 46 #include "wtf/text/WTFString.h" |
47 #include <stdio.h> | 47 #include <stdio.h> |
48 | 48 |
49 using namespace blink; | 49 using namespace blink; |
50 | 50 |
51 namespace { | 51 namespace { |
52 | 52 |
53 PersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer) | 53 WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPoint
er) |
54 { | 54 { |
55 ASSERT_NOT_REACHED(); | 55 ASSERT_NOT_REACHED(); |
56 return 0; | 56 return 0; |
57 } | 57 } |
58 | 58 |
59 } // namespace | 59 } // namespace |
60 | 60 |
61 namespace blink { | 61 namespace blink { |
62 | 62 |
63 const WrapperTypeInfo* npObjectTypeInfo() | 63 const WrapperTypeInfo* npObjectTypeInfo() |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 622 |
623 convertV8ObjectToNPVariant(resultObject, npObject, result, isolate); | 623 convertV8ObjectToNPVariant(resultObject, npObject, result, isolate); |
624 return true; | 624 return true; |
625 } | 625 } |
626 | 626 |
627 if (NP_CLASS_STRUCT_VERSION_HAS_CTOR(npObject->_class) && npObject->_class->
construct) | 627 if (NP_CLASS_STRUCT_VERSION_HAS_CTOR(npObject->_class) && npObject->_class->
construct) |
628 return npObject->_class->construct(npObject, arguments, argumentCount, r
esult); | 628 return npObject->_class->construct(npObject, arguments, argumentCount, r
esult); |
629 | 629 |
630 return false; | 630 return false; |
631 } | 631 } |
OLD | NEW |