1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 tvcm.require('tvcm.guid');
10 * @fileoverview Provides the Event class.
12 tvcm.exportTo('tracing.trace_model', function() {
15 * The SelectionState enum defines how Events are displayed in the view.
17 var SelectionState = {
25 * An Event is the base type for any non-container, selectable piece
26 * of data in the trace model.
31 this.guid_ = tvcm.GUID.allocate();
32 this.selectionState = SelectionState.NONE;
41 return this.selectionState === SelectionState.SELECTED;
47 SelectionState: SelectionState