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

Unified Diff: third_party/WebKit/WebCore/bindings/v8/V8Proxy.h

Issue 21370: Implement deferToInterceptor function to help with readability of the binding... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/bindings/v8/V8Proxy.h
===================================================================
--- third_party/WebKit/WebCore/bindings/v8/V8Proxy.h (revision 9778)
+++ third_party/WebKit/WebCore/bindings/v8/V8Proxy.h (working copy)
@@ -37,6 +37,13 @@
namespace WebCore {
+ // Used by a bindings function to inform its interceptor that it's up to the
+ // interceptor to provide the result of this call.
+ inline static v8::Local<v8::Object> deferToInterceptor()
Mads Ager (chromium) 2009/02/16 06:46:11 We should name this differently. The NamedPropert
+ {
+ return v8::Local<v8::Object>();
+ }
+
inline v8::Handle<v8::Primitive> throwError(const char* message, V8Proxy::ErrorType type = V8Proxy::TYPE_ERROR)
{
V8Proxy::ThrowError(type, message);
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698