Index: runtime/vm/service_event.h |
diff --git a/runtime/vm/service_event.h b/runtime/vm/service_event.h |
index d0db082a4da03904c1d0e3da5fa2503b6e3cd117..9acd3eeb791c96e950f74fe9ae43d6a59e2dac3a 100644 |
--- a/runtime/vm/service_event.h |
+++ b/runtime/vm/service_event.h |
@@ -56,6 +56,8 @@ class ServiceEvent { |
kTimelineEvents, |
+ kEditorObjectSelected, |
+ |
kIllegal, |
}; |
@@ -75,6 +77,11 @@ class ServiceEvent { |
const String* event_data; |
}; |
+ struct EditorEvent { |
+ const char* editor; |
+ const Object* object; |
+ }; |
+ |
ServiceEvent(Isolate* isolate, EventKind event_kind); |
Isolate* isolate() const { return isolate_; } |
@@ -194,6 +201,10 @@ class ServiceEvent { |
extension_event_ = extension_event; |
} |
+ void set_editor_event(const EditorEvent& editor_event) { |
+ editor_event_ = editor_event; |
+ } |
+ |
void UpdateTimestamp(); |
int64_t timestamp() const { return timestamp_; } |
@@ -231,6 +242,7 @@ class ServiceEvent { |
intptr_t bytes_length_; |
LogRecord log_record_; |
ExtensionEvent extension_event_; |
+ EditorEvent editor_event_; |
int64_t timestamp_; |
}; |