OLD | NEW |
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 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 { | 1051 { |
1052 // ReThrow() is a no-op if no exception has been caught, so always call. | 1052 // ReThrow() is a no-op if no exception has been caught, so always call. |
1053 m_block.ReThrow(); | 1053 m_block.ReThrow(); |
1054 } | 1054 } |
1055 | 1055 |
1056 private: | 1056 private: |
1057 v8::TryCatch& m_block; | 1057 v8::TryCatch& m_block; |
1058 }; | 1058 }; |
1059 | 1059 |
1060 // Callback functions used by generated code. | 1060 // Callback functions used by generated code. |
1061 void v8ConstructorAttributeGetterAsProperty(v8::Local<v8::Name> propertyName, co
nst v8::PropertyCallbackInfo<v8::Value>&); | 1061 void v8ConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::Pr
opertyCallbackInfo<v8::Value>&); |
1062 void v8ConstructorAttributeGetterAsAccessor(const v8::FunctionCallbackInfo<v8::V
alue>&); | |
1063 | 1062 |
1064 typedef void (*InstallTemplateFunction)(v8::Local<v8::FunctionTemplate>, v8::Iso
late*); | 1063 typedef void (*InstallTemplateFunction)(v8::Local<v8::FunctionTemplate>, v8::Iso
late*); |
1065 | 1064 |
1066 } // namespace blink | 1065 } // namespace blink |
1067 | 1066 |
1068 #endif // V8Binding_h | 1067 #endif // V8Binding_h |
OLD | NEW |