Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: Source/bindings/v8/V8Binding.h

Issue 106853005: Implement platform deleters per spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch to DeleteResult enum + extend scheme to indexed deleters Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698