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

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

Issue 684083002: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/bindings/core/v8/V8NPObject.cpp ('k') | Source/bindings/core/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 29 matching lines...) Expand all
40 static v8::Handle<v8::Value> createDOMException(int, const String& sanitized Message, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creatio nContext, v8::Isolate*); 40 static v8::Handle<v8::Value> createDOMException(int, const String& sanitized Message, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creatio nContext, v8::Isolate*);
41 41
42 static v8::Handle<v8::Value> throwDOMException(int ec, const String& message , const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate) 42 static v8::Handle<v8::Value> throwDOMException(int ec, const String& message , const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
43 { 43 {
44 return throwDOMException(ec, message, String(), creationContext, isolate ); 44 return throwDOMException(ec, message, String(), creationContext, isolate );
45 } 45 }
46 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedM essage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creation Context, v8::Isolate*); 46 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedM essage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creation Context, v8::Isolate*);
47 47
48 static v8::Handle<v8::Value> throwException(v8::Handle<v8::Value>, v8::Isola te*); 48 static v8::Handle<v8::Value> throwException(v8::Handle<v8::Value>, v8::Isola te*);
49 49
50 static v8::Handle<v8::Value> createGeneralError(const String&, v8::Isolate*) ; 50 static v8::Handle<v8::Value> createGeneralError(v8::Isolate*, const String&) ;
51 static v8::Handle<v8::Value> throwGeneralError(const String&, v8::Isolate*); 51 static v8::Handle<v8::Value> throwGeneralError(v8::Isolate*, const String&);
52 static v8::Handle<v8::Value> createTypeError(const String&, v8::Isolate*); 52 static v8::Handle<v8::Value> createTypeError(const String&, v8::Isolate*);
53 static v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); 53 static v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*);
54 static v8::Handle<v8::Value> createRangeError(const String&, v8::Isolate*); 54 static v8::Handle<v8::Value> createRangeError(const String&, v8::Isolate*);
55 static v8::Handle<v8::Value> throwRangeError(const String&, v8::Isolate*); 55 static v8::Handle<v8::Value> throwRangeError(const String&, v8::Isolate*);
56 static v8::Handle<v8::Value> createSyntaxError(const String&, v8::Isolate*); 56 static v8::Handle<v8::Value> createSyntaxError(const String&, v8::Isolate*);
57 static v8::Handle<v8::Value> throwSyntaxError(const String&, v8::Isolate*); 57 static v8::Handle<v8::Value> throwSyntaxError(const String&, v8::Isolate*);
58 static v8::Handle<v8::Value> createReferenceError(const String&, v8::Isolate *); 58 static v8::Handle<v8::Value> createReferenceError(const String&, v8::Isolate *);
59 static v8::Handle<v8::Value> throwReferenceError(const String&, v8::Isolate* ); 59 static v8::Handle<v8::Value> throwReferenceError(const String&, v8::Isolate* );
60 }; 60 };
61 61
62 } // namespace blink 62 } // namespace blink
63 63
64 #endif // V8ThrowException_h 64 #endif // V8ThrowException_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8NPObject.cpp ('k') | Source/bindings/core/v8/V8ThrowException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698