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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 | 689 |
690 // Can only be called by blink::initialize | 690 // Can only be called by blink::initialize |
691 void setMainThreadIsolate(v8::Isolate*); | 691 void setMainThreadIsolate(v8::Isolate*); |
692 | 692 |
693 // Converts a DOM object to a v8 value. | 693 // Converts a DOM object to a v8 value. |
694 // This is a no-inline version of toV8(). If you want to call toV8() | 694 // This is a no-inline version of toV8(). If you want to call toV8() |
695 // without creating #include cycles, you can use this function instead. | 695 // without creating #include cycles, you can use this function instead. |
696 // Each specialized implementation will be generated. | 696 // Each specialized implementation will be generated. |
697 template<typename T> | 697 template<typename T> |
698 v8::Handle<v8::Value> toV8NoInline(T* impl, v8::Handle<v8::Object> creationC
ontext, v8::Isolate*); | 698 v8::Handle<v8::Value> toV8NoInline(T* impl, v8::Handle<v8::Object> creationC
ontext, v8::Isolate*); |
| 699 |
| 700 // Result values for platform object 'deleter' methods, |
| 701 // http://www.w3.org/TR/WebIDL/#delete |
| 702 enum DeleteResult { |
| 703 DeleteSuccess, |
| 704 DeleteReject, |
| 705 DeleteUnknownProperty |
| 706 }; |
699 } // namespace WebCore | 707 } // namespace WebCore |
700 | 708 |
701 #endif // V8Binding_h | 709 #endif // V8Binding_h |
OLD | NEW |