OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 24 matching lines...) Expand all Loading... |
35 #include "bindings/core/v8/V8LazyEventListener.h" | 35 #include "bindings/core/v8/V8LazyEventListener.h" |
36 #include "wtf/PassRefPtr.h" | 36 #include "wtf/PassRefPtr.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class EventListener; | 40 class EventListener; |
41 class ExecutionContext; | 41 class ExecutionContext; |
42 class LocalFrame; | 42 class LocalFrame; |
43 class Node; | 43 class Node; |
44 class QualifiedName; | 44 class QualifiedName; |
45 class ScheduledAction; | |
46 class SourceLocation; | 45 class SourceLocation; |
47 | 46 |
48 V8LazyEventListener* createAttributeEventListener( | 47 V8LazyEventListener* createAttributeEventListener( |
49 Node*, | 48 Node*, |
50 const QualifiedName&, | 49 const QualifiedName&, |
51 const AtomicString& value, | 50 const AtomicString& value, |
52 const AtomicString& eventParameterName); | 51 const AtomicString& eventParameterName); |
53 V8LazyEventListener* createAttributeEventListener( | 52 V8LazyEventListener* createAttributeEventListener( |
54 LocalFrame*, | 53 LocalFrame*, |
55 const QualifiedName&, | 54 const QualifiedName&, |
56 const AtomicString& value, | 55 const AtomicString& value, |
57 const AtomicString& eventParameterName); | 56 const AtomicString& eventParameterName); |
58 v8::Local<v8::Object> eventListenerHandler(ExecutionContext*, EventListener*); | 57 v8::Local<v8::Object> eventListenerHandler(ExecutionContext*, EventListener*); |
59 v8::Local<v8::Function> eventListenerEffectiveFunction( | 58 v8::Local<v8::Function> eventListenerEffectiveFunction( |
60 v8::Isolate*, | 59 v8::Isolate*, |
61 v8::Local<v8::Object> handler); | 60 v8::Local<v8::Object> handler); |
62 void getFunctionLocation(v8::Local<v8::Function>, | 61 void getFunctionLocation(v8::Local<v8::Function>, |
63 String& scriptId, | 62 String& scriptId, |
64 int& lineNumber, | 63 int& lineNumber, |
65 int& columnNumber); | 64 int& columnNumber); |
66 std::unique_ptr<SourceLocation> getFunctionLocation(ExecutionContext*, | 65 std::unique_ptr<SourceLocation> getFunctionLocation(ExecutionContext*, |
67 EventListener*); | 66 EventListener*); |
68 | 67 |
69 } // namespace blink | 68 } // namespace blink |
70 | 69 |
71 #endif // ScriptEventListener_h | 70 #endif // ScriptEventListener_h |
OLD | NEW |