OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 /** | 100 /** |
101 * Client data passed with the corresponding request if any. This is the | 101 * Client data passed with the corresponding request if any. This is the |
102 * client_data data value passed into Debug::SendCommand along with the | 102 * client_data data value passed into Debug::SendCommand along with the |
103 * request that led to the message or NULL if the message is an event. The | 103 * request that led to the message or NULL if the message is an event. The |
104 * debugger takes ownership of the data and will delete it even if there is | 104 * debugger takes ownership of the data and will delete it even if there is |
105 * no message handler. | 105 * no message handler. |
106 */ | 106 */ |
107 virtual ClientData* GetClientData() const = 0; | 107 virtual ClientData* GetClientData() const = 0; |
108 | 108 |
| 109 virtual Isolate* GetIsolate() const = 0; |
| 110 |
109 virtual ~Message() {} | 111 virtual ~Message() {} |
110 }; | 112 }; |
111 | 113 |
112 | 114 |
113 /** | 115 /** |
114 * An event details object passed to the debug event listener. | 116 * An event details object passed to the debug event listener. |
115 */ | 117 */ |
116 class EventDetails { | 118 class EventDetails { |
117 public: | 119 public: |
118 /** | 120 /** |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 }; | 331 }; |
330 | 332 |
331 | 333 |
332 } // namespace v8 | 334 } // namespace v8 |
333 | 335 |
334 | 336 |
335 #undef EXPORT | 337 #undef EXPORT |
336 | 338 |
337 | 339 |
338 #endif // V8_V8_DEBUG_H_ | 340 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |