summaryrefslogtreecommitdiff
path: root/deps/v8/tools/system-analyzer/events.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/system-analyzer/events.mjs')
-rw-r--r--deps/v8/tools/system-analyzer/events.mjs51
1 files changed, 0 insertions, 51 deletions
diff --git a/deps/v8/tools/system-analyzer/events.mjs b/deps/v8/tools/system-analyzer/events.mjs
deleted file mode 100644
index 69529233b4..0000000000
--- a/deps/v8/tools/system-analyzer/events.mjs
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2020 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-class SelectionEvent extends CustomEvent {
- // TODO: turn into static class fields once Safari supports it.
- static get name() {
- return 'showentries';
- }
- constructor(entries) {
- super(SelectionEvent.name, {bubbles: true, composed: true});
- if (!Array.isArray(entries) || entries.length == 0) {
- throw new Error('No valid entries selected!');
- }
- this.entries = entries;
- }
-}
-
-class FocusEvent extends CustomEvent {
- static get name() {
- return 'showentrydetail';
- }
- constructor(entry) {
- super(FocusEvent.name, {bubbles: true, composed: true});
- this.entry = entry;
- }
-}
-
-class SelectTimeEvent extends CustomEvent {
- static get name() {
- return 'timerangeselect';
- }
- constructor(start, end) {
- super(SelectTimeEvent.name, {bubbles: true, composed: true});
- this.start = start;
- this.end = end;
- }
-}
-
-class SynchronizeSelectionEvent extends CustomEvent {
- static get name() {
- return 'syncselection';
- }
- constructor(start, end) {
- super(SynchronizeSelectionEvent.name, {bubbles: true, composed: true});
- this.start = start;
- this.end = end;
- }
-}
-
-export {SelectionEvent, FocusEvent, SelectTimeEvent, SynchronizeSelectionEvent};