| 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 25 matching lines...) Expand all Loading... |
| 36 #include "bindings/v8/V8BindingMacros.h" | 36 #include "bindings/v8/V8BindingMacros.h" |
| 37 #include "bindings/v8/V8PerIsolateData.h" | 37 #include "bindings/v8/V8PerIsolateData.h" |
| 38 #include "bindings/v8/V8StringResource.h" | 38 #include "bindings/v8/V8StringResource.h" |
| 39 #include "bindings/v8/V8ThrowException.h" | 39 #include "bindings/v8/V8ThrowException.h" |
| 40 #include "bindings/v8/V8ValueCache.h" | 40 #include "bindings/v8/V8ValueCache.h" |
| 41 #include "wtf/MathExtras.h" | 41 #include "wtf/MathExtras.h" |
| 42 #include "wtf/text/AtomicString.h" | 42 #include "wtf/text/AtomicString.h" |
| 43 #include <v8.h> | 43 #include <v8.h> |
| 44 | 44 |
| 45 namespace WebCore { | 45 namespace WebCore { |
| 46 const int64_t kJSMaxInteger = 0x20000000000000LL - 1; // 2^53 - 1, maximum i
nteger exactly representable in ECMAScript. |
| 46 | 47 |
| 47 class DOMStringList; | 48 class DOMStringList; |
| 48 class DOMWindow; | 49 class DOMWindow; |
| 49 class Document; | 50 class Document; |
| 50 class Frame; | 51 class Frame; |
| 51 class NodeFilter; | 52 class NodeFilter; |
| 52 class ScriptExecutionContext; | 53 class ScriptExecutionContext; |
| 53 class ScriptWrappable; | 54 class ScriptWrappable; |
| 54 class XPathNSResolver; | 55 class XPathNSResolver; |
| 55 | 56 |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 inline v8::Local<v8::Function> createClosure(v8::FunctionCallback function,
v8::Handle<v8::Value> environment) | 630 inline v8::Local<v8::Function> createClosure(v8::FunctionCallback function,
v8::Handle<v8::Value> environment) |
| 630 { | 631 { |
| 631 return v8::FunctionTemplate::New(function, environment)->GetFunction(); | 632 return v8::FunctionTemplate::New(function, environment)->GetFunction(); |
| 632 } | 633 } |
| 633 | 634 |
| 634 v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate*, Script
Wrappable*, v8::Handle<v8::String> key); | 635 v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate*, Script
Wrappable*, v8::Handle<v8::String> key); |
| 635 | 636 |
| 636 } // namespace WebCore | 637 } // namespace WebCore |
| 637 | 638 |
| 638 #endif // V8Binding_h | 639 #endif // V8Binding_h |
| OLD | NEW |