| 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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 } | 628 } |
| 629 | 629 |
| 630 V8TRYCATCH(uint32_t, sequenceLength, lengthValue->Int32Value()); | 630 V8TRYCATCH(uint32_t, sequenceLength, lengthValue->Int32Value()); |
| 631 length = sequenceLength; | 631 length = sequenceLength; |
| 632 return v8Value; | 632 return v8Value; |
| 633 } | 633 } |
| 634 | 634 |
| 635 v8::Isolate* toIsolate(ExecutionContext*); | 635 v8::Isolate* toIsolate(ExecutionContext*); |
| 636 v8::Isolate* toIsolate(LocalFrame*); | 636 v8::Isolate* toIsolate(LocalFrame*); |
| 637 | 637 |
| 638 WrapperWorldType worldType(v8::Isolate*); | |
| 639 WrapperWorldType worldTypeInMainThread(v8::Isolate*); | |
| 640 | |
| 641 DOMWindow* toDOMWindow(v8::Handle<v8::Value>, v8::Isolate*); | 638 DOMWindow* toDOMWindow(v8::Handle<v8::Value>, v8::Isolate*); |
| 642 DOMWindow* toDOMWindow(v8::Handle<v8::Context>); | 639 DOMWindow* toDOMWindow(v8::Handle<v8::Context>); |
| 643 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>); | 640 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>); |
| 644 | 641 |
| 645 DOMWindow* callingDOMWindow(v8::Isolate*); | 642 DOMWindow* callingDOMWindow(v8::Isolate*); |
| 646 ExecutionContext* callingExecutionContext(v8::Isolate*); | 643 ExecutionContext* callingExecutionContext(v8::Isolate*); |
| 647 DOMWindow* enteredDOMWindow(v8::Isolate*); | 644 DOMWindow* enteredDOMWindow(v8::Isolate*); |
| 648 Document* currentDocument(v8::Isolate*); | 645 Document* currentDocument(v8::Isolate*); |
| 649 ExecutionContext* currentExecutionContext(v8::Isolate*); | 646 ExecutionContext* currentExecutionContext(v8::Isolate*); |
| 650 | 647 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 v8::HandleScope m_handleScope; | 741 v8::HandleScope m_handleScope; |
| 745 v8::Handle<v8::Context> m_context; | 742 v8::Handle<v8::Context> m_context; |
| 746 v8::Context::Scope m_contextScope; | 743 v8::Context::Scope m_contextScope; |
| 747 RefPtr<DOMWrapperWorld> m_world; | 744 RefPtr<DOMWrapperWorld> m_world; |
| 748 OwnPtr<V8PerContextData> m_perContextData; | 745 OwnPtr<V8PerContextData> m_perContextData; |
| 749 }; | 746 }; |
| 750 | 747 |
| 751 } // namespace WebCore | 748 } // namespace WebCore |
| 752 | 749 |
| 753 #endif // V8Binding_h | 750 #endif // V8Binding_h |
| OLD | NEW |