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

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

Issue 692443002: 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(v8::Isolate*, const String&) ; 50 static v8::Handle<v8::Value> createGeneralError(v8::Isolate*, const String&) ;
51 static v8::Handle<v8::Value> throwGeneralError(v8::Isolate*, const String&); 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(v8::Isolate*, const String&);
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(v8::Isolate*, const String&);
55 static v8::Handle<v8::Value> throwRangeError(const String&, v8::Isolate*); 55 static v8::Handle<v8::Value> throwRangeError(v8::Isolate*, const String&);
56 static v8::Handle<v8::Value> createSyntaxError(v8::Isolate*, const String&); 56 static v8::Handle<v8::Value> createSyntaxError(v8::Isolate*, const String&);
57 static v8::Handle<v8::Value> throwSyntaxError(v8::Isolate*, const String&); 57 static v8::Handle<v8::Value> throwSyntaxError(v8::Isolate*, const String&);
58 static v8::Handle<v8::Value> createReferenceError(v8::Isolate*, const String &); 58 static v8::Handle<v8::Value> createReferenceError(v8::Isolate*, const String &);
59 static v8::Handle<v8::Value> throwReferenceError(v8::Isolate*, const String& ); 59 static v8::Handle<v8::Value> throwReferenceError(v8::Isolate*, const String& );
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/V8ScriptRunner.cpp ('k') | Source/bindings/core/v8/V8ThrowException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698