| 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 return v8::String::NewFromUtf8(isolate, str, v8::String::kInternalizedSt
ring, strlen(str)); | 614 return v8::String::NewFromUtf8(isolate, str, v8::String::kInternalizedSt
ring, strlen(str)); |
| 615 } | 615 } |
| 616 | 616 |
| 617 inline v8::Handle<v8::String> v8AtomicString(v8::Isolate* isolate, const cha
r* str, size_t length) | 617 inline v8::Handle<v8::String> v8AtomicString(v8::Isolate* isolate, const cha
r* str, size_t length) |
| 618 { | 618 { |
| 619 ASSERT(isolate); | 619 ASSERT(isolate); |
| 620 return v8::String::NewFromUtf8(isolate, str, v8::String::kInternalizedSt
ring, length); | 620 return v8::String::NewFromUtf8(isolate, str, v8::String::kInternalizedSt
ring, length); |
| 621 } | 621 } |
| 622 | 622 |
| 623 | 623 |
| 624 v8::Handle<v8::FunctionTemplate> createRawTemplate(v8::Isolate*); | |
| 625 | |
| 626 PassRefPtr<XPathNSResolver> toXPathNSResolver(v8::Handle<v8::Value>, v8::Iso
late*); | 624 PassRefPtr<XPathNSResolver> toXPathNSResolver(v8::Handle<v8::Value>, v8::Iso
late*); |
| 627 | 625 |
| 628 v8::Handle<v8::Object> toInnerGlobalObject(v8::Handle<v8::Context>); | 626 v8::Handle<v8::Object> toInnerGlobalObject(v8::Handle<v8::Context>); |
| 629 DOMWindow* toDOMWindow(v8::Handle<v8::Context>); | 627 DOMWindow* toDOMWindow(v8::Handle<v8::Context>); |
| 630 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>); | 628 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>); |
| 631 | 629 |
| 632 DOMWindow* activeDOMWindow(); | 630 DOMWindow* activeDOMWindow(); |
| 633 ExecutionContext* activeExecutionContext(); | 631 ExecutionContext* activeExecutionContext(); |
| 634 DOMWindow* firstDOMWindow(); | 632 DOMWindow* firstDOMWindow(); |
| 635 Document* currentDocument(); | 633 Document* currentDocument(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 // Result values for platform object 'deleter' methods, | 700 // Result values for platform object 'deleter' methods, |
| 703 // http://www.w3.org/TR/WebIDL/#delete | 701 // http://www.w3.org/TR/WebIDL/#delete |
| 704 enum DeleteResult { | 702 enum DeleteResult { |
| 705 DeleteSuccess, | 703 DeleteSuccess, |
| 706 DeleteReject, | 704 DeleteReject, |
| 707 DeleteUnknownProperty | 705 DeleteUnknownProperty |
| 708 }; | 706 }; |
| 709 } // namespace WebCore | 707 } // namespace WebCore |
| 710 | 708 |
| 711 #endif // V8Binding_h | 709 #endif // V8Binding_h |
| OLD | NEW |