OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ConstructionContext, | 58 ConstructionContext, |
59 ExecutionContext, | 59 ExecutionContext, |
60 DeletionContext, | 60 DeletionContext, |
61 GetterContext, | 61 GetterContext, |
62 SetterContext, | 62 SetterContext, |
63 EnumerationContext, | 63 EnumerationContext, |
64 QueryContext, | 64 QueryContext, |
65 IndexedGetterContext, | 65 IndexedGetterContext, |
66 IndexedSetterContext, | 66 IndexedSetterContext, |
67 IndexedDeletionContext, | 67 IndexedDeletionContext, |
68 UnknownContext, // FIXME: Remove this once we've flipped over to the new AP
I. | 68 UnknownContext, // FIXME: Remove this once we've flipped over to the new |
| 69 // API. |
69 }; | 70 }; |
70 | 71 |
71 ExceptionState(v8::Isolate* isolate, | 72 ExceptionState(v8::Isolate* isolate, |
72 ContextType contextType, | 73 ContextType contextType, |
73 const char* interfaceName, | 74 const char* interfaceName, |
74 const char* propertyName) | 75 const char* propertyName) |
75 : m_code(0), | 76 : m_code(0), |
76 m_context(contextType), | 77 m_context(contextType), |
77 m_propertyName(propertyName), | 78 m_propertyName(propertyName), |
78 m_interfaceName(interfaceName), | 79 m_interfaceName(interfaceName), |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 void throwTypeError(const String& message) override; | 203 void throwTypeError(const String& message) override; |
203 void throwSecurityError(const String& sanitizedMessage, | 204 void throwSecurityError(const String& sanitizedMessage, |
204 const String& unsanitizedMessage) override; | 205 const String& unsanitizedMessage) override; |
205 void throwRangeError(const String& message) override; | 206 void throwRangeError(const String& message) override; |
206 void rethrowV8Exception(v8::Local<v8::Value>) override; | 207 void rethrowV8Exception(v8::Local<v8::Value>) override; |
207 }; | 208 }; |
208 | 209 |
209 } // namespace blink | 210 } // namespace blink |
210 | 211 |
211 #endif // ExceptionState_h | 212 #endif // ExceptionState_h |
OLD | NEW |