OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2012 Ericsson AB. 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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 28 matching lines...) Expand all Loading... |
39 #include "bindings/core/v8/V8PerIsolateData.h" | 39 #include "bindings/core/v8/V8PerIsolateData.h" |
40 #include "bindings/core/v8/V8StringResource.h" | 40 #include "bindings/core/v8/V8StringResource.h" |
41 #include "bindings/core/v8/V8ThrowException.h" | 41 #include "bindings/core/v8/V8ThrowException.h" |
42 #include "bindings/core/v8/V8ValueCache.h" | 42 #include "bindings/core/v8/V8ValueCache.h" |
43 #include "platform/heap/Heap.h" | 43 #include "platform/heap/Heap.h" |
44 #include "wtf/GetPtr.h" | 44 #include "wtf/GetPtr.h" |
45 #include "wtf/MathExtras.h" | 45 #include "wtf/MathExtras.h" |
46 #include "wtf/text/AtomicString.h" | 46 #include "wtf/text/AtomicString.h" |
47 #include <v8.h> | 47 #include <v8.h> |
48 | 48 |
49 namespace WebCore { | 49 namespace blink { |
50 | 50 |
51 class LocalDOMWindow; | 51 class LocalDOMWindow; |
52 class Document; | 52 class Document; |
53 class EventListener; | 53 class EventListener; |
54 class ExecutionContext; | 54 class ExecutionContext; |
55 class ExceptionState; | 55 class ExceptionState; |
56 class LocalFrame; | 56 class LocalFrame; |
57 class NodeFilter; | 57 class NodeFilter; |
58 class ScriptWrappable; | 58 class ScriptWrappable; |
59 class XPathNSResolver; | 59 class XPathNSResolver; |
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 explicit V8ResetTryCatchScope(v8::TryCatch& block) : m_block(block) { } | 990 explicit V8ResetTryCatchScope(v8::TryCatch& block) : m_block(block) { } |
991 ~V8ResetTryCatchScope() | 991 ~V8ResetTryCatchScope() |
992 { | 992 { |
993 m_block.Reset(); | 993 m_block.Reset(); |
994 } | 994 } |
995 | 995 |
996 private: | 996 private: |
997 v8::TryCatch& m_block; | 997 v8::TryCatch& m_block; |
998 }; | 998 }; |
999 | 999 |
1000 } // namespace WebCore | 1000 } // namespace blink |
1001 | 1001 |
1002 #endif // V8Binding_h | 1002 #endif // V8Binding_h |
OLD | NEW |