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

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

Issue 24118003: Pass isolate to v8::Undefined() function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/v8/V8PerContextData.cpp ('k') | Source/bindings/v8/V8ThrowException.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 return throwDOMException(ec, String(), isolate); 56 return throwDOMException(ec, String(), isolate);
57 } 57 }
58 static v8::Handle<v8::Value> throwDOMException(int ec, const String& message , v8::Isolate* isolate) 58 static v8::Handle<v8::Value> throwDOMException(int ec, const String& message , v8::Isolate* isolate)
59 { 59 {
60 return throwDOMException(ec, message, String(), isolate); 60 return throwDOMException(ec, message, String(), isolate);
61 } 61 }
62 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedM essage, const String& unsanitizedMessage, v8::Isolate*); 62 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedM essage, const String& unsanitizedMessage, v8::Isolate*);
63 63
64 static v8::Handle<v8::Value> createError(V8ErrorType, const String&, v8::Iso late*); 64 static v8::Handle<v8::Value> createError(V8ErrorType, const String&, v8::Iso late*);
65 static v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isol ate*); 65 static v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isol ate*);
66 static v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>); 66 static v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>, v8::Isolate*) ;
67 67
68 static v8::Handle<v8::Value> createTypeError(const String&, v8::Isolate*); 68 static v8::Handle<v8::Value> createTypeError(const String&, v8::Isolate*);
69 static v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); 69 static v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*);
70 70
71 static v8::Handle<v8::Value> throwNotEnoughArgumentsError(v8::Isolate*); 71 static v8::Handle<v8::Value> throwNotEnoughArgumentsError(v8::Isolate*);
72 }; 72 };
73 73
74 } // namespace WebCore 74 } // namespace WebCore
75 75
76 #endif // V8ThrowException_h 76 #endif // V8ThrowException_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/V8PerContextData.cpp ('k') | Source/bindings/v8/V8ThrowException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698