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 | 57 |
58 // Schedule a DOM exception to be thrown, if the exception code is different | 58 // Schedule a DOM exception to be thrown, if the exception code is different |
59 // from zero. | 59 // from zero. |
60 v8::Handle<v8::Value> setDOMException(int, v8::Isolate*); | 60 v8::Handle<v8::Value> setDOMException(int, v8::Isolate*); |
61 v8::Handle<v8::Value> setDOMException(int, const String&, v8::Isolate*); | 61 v8::Handle<v8::Value> setDOMException(int, const String&, v8::Isolate*); |
62 | 62 |
63 // Schedule a JavaScript error to be thrown. | 63 // Schedule a JavaScript error to be thrown. |
64 v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isolate*); | 64 v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isolate*); |
65 | 65 |
66 // Schedule a JavaScript error to be thrown. | 66 // Schedule a JavaScript error to be thrown. |
67 v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>); | 67 v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>, v8::Isolate*); |
68 | 68 |
69 // A helper for throwing JavaScript TypeError. | 69 // A helper for throwing JavaScript TypeError. |
70 v8::Handle<v8::Value> throwTypeError(v8::Isolate*); | 70 v8::Handle<v8::Value> throwTypeError(v8::Isolate*); |
71 v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); | 71 v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); |
72 | 72 |
73 // A helper for throwing JavaScript TypeError for not enough arguments. | 73 // A helper for throwing JavaScript TypeError for not enough arguments. |
74 v8::Handle<v8::Value> throwNotEnoughArgumentsError(v8::Isolate*); | 74 v8::Handle<v8::Value> throwNotEnoughArgumentsError(v8::Isolate*); |
75 | 75 |
76 v8::ArrayBuffer::Allocator* v8ArrayBufferAllocator(); | 76 v8::ArrayBuffer::Allocator* v8ArrayBufferAllocator(); |
77 | 77 |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 } | 634 } |
635 | 635 |
636 v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate*, Script
Wrappable*, v8::Handle<v8::String> key); | 636 v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate*, Script
Wrappable*, v8::Handle<v8::String> key); |
637 | 637 |
638 v8::Isolate* isolateForScriptExecutionContext(ScriptExecutionContext*); | 638 v8::Isolate* isolateForScriptExecutionContext(ScriptExecutionContext*); |
639 v8::Isolate* isolateForFrame(Frame*); | 639 v8::Isolate* isolateForFrame(Frame*); |
640 | 640 |
641 } // namespace WebCore | 641 } // namespace WebCore |
642 | 642 |
643 #endif // V8Binding_h | 643 #endif // V8Binding_h |
OLD | NEW |