OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 virtual void voidMethod() OVERRIDE; | 55 virtual void voidMethod() OVERRIDE; |
56 virtual bool booleanMethod() OVERRIDE; | 56 virtual bool booleanMethod() OVERRIDE; |
57 virtual void voidMethodBooleanArg(bool boolArg) OVERRIDE; | 57 virtual void voidMethodBooleanArg(bool boolArg) OVERRIDE; |
58 virtual void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty> >
& sequenceArg) OVERRIDE; | 58 virtual void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty> >
& sequenceArg) OVERRIDE; |
59 virtual void voidMethodFloatArg(float floatArg) OVERRIDE; | 59 virtual void voidMethodFloatArg(float floatArg) OVERRIDE; |
60 virtual void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfa
ceEmptyArg) OVERRIDE; | 60 virtual void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfa
ceEmptyArg) OVERRIDE; |
61 virtual void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testI
nterfaceEmptyArg, const String& stringArg) OVERRIDE; | 61 virtual void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testI
nterfaceEmptyArg, const String& stringArg) OVERRIDE; |
62 virtual void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue,
const String& stringArg) OVERRIDE; | 62 virtual void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue,
const String& stringArg) OVERRIDE; |
63 virtual void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testI
nterfaceEmptyArg) OVERRIDE; | 63 virtual void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testI
nterfaceEmptyArg) OVERRIDE; |
| 64 virtual void voidMethodWillBeGarbageCollectedSequenceArg(const WillBeHeapVec
tor<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& sequenceArg) OVER
RIDE; |
| 65 virtual void voidMethodWillBeGarbageCollectedArrayArg(const WillBeHeapVector
<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& arrayArg) OVERRIDE; |
64 private: | 66 private: |
65 V8TestCallbackInterface(v8::Handle<v8::Function>, ExecutionContext*); | 67 V8TestCallbackInterface(v8::Handle<v8::Function>, ExecutionContext*); |
66 | 68 |
67 v8::Isolate* m_isolate; | 69 v8::Isolate* m_isolate; |
68 ScopedPersistent<v8::Function> m_callback; | 70 ScopedPersistent<v8::Function> m_callback; |
69 RefPtr<DOMWrapperWorld> m_world; | 71 RefPtr<DOMWrapperWorld> m_world; |
70 }; | 72 }; |
71 | 73 |
72 } | 74 } |
73 #endif // V8TestCallbackInterface_h | 75 #endif // V8TestCallbackInterface_h |
OLD | NEW |