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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 class DOMWindow; | 57 class DOMWindow; |
58 class EventListener; | 58 class EventListener; |
59 class EventTarget; | 59 class EventTarget; |
60 class ExceptionState; | 60 class ExceptionState; |
61 class ExecutionContext; | 61 class ExecutionContext; |
62 class FlexibleArrayBufferView; | 62 class FlexibleArrayBufferView; |
63 class Frame; | 63 class Frame; |
64 class LocalDOMWindow; | 64 class LocalDOMWindow; |
65 class LocalFrame; | 65 class LocalFrame; |
66 class NodeFilter; | 66 class NodeFilter; |
67 class TracedValue; | |
68 class WorkerGlobalScope; | 67 class WorkerGlobalScope; |
69 class WorkerOrWorkletGlobalScope; | 68 class WorkerOrWorkletGlobalScope; |
70 class XPathNSResolver; | 69 class XPathNSResolver; |
71 | 70 |
72 template <typename T> | 71 template <typename T> |
73 struct V8TypeOf { | 72 struct V8TypeOf { |
74 STATIC_ONLY(V8TypeOf); | 73 STATIC_ONLY(V8TypeOf); |
75 // |Type| provides C++ -> V8 type conversion for DOM wrappers. | 74 // |Type| provides C++ -> V8 type conversion for DOM wrappers. |
76 // The Blink binding code generator will generate specialized version of | 75 // The Blink binding code generator will generate specialized version of |
77 // V8TypeOf for each wrapper class. | 76 // V8TypeOf for each wrapper class. |
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 | 1157 |
1159 // Freeze a V8 object. The type of the first parameter and the return value is | 1158 // Freeze a V8 object. The type of the first parameter and the return value is |
1160 // intentionally v8::Value so that this function can wrap toV8(). | 1159 // intentionally v8::Value so that this function can wrap toV8(). |
1161 // If the argument isn't an object, this will crash. | 1160 // If the argument isn't an object, this will crash. |
1162 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, | 1161 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, |
1163 v8::Isolate*); | 1162 v8::Isolate*); |
1164 | 1163 |
1165 } // namespace blink | 1164 } // namespace blink |
1166 | 1165 |
1167 #endif // V8Binding_h | 1166 #endif // V8Binding_h |
OLD | NEW |