Home | History | Annotate | Download | only in tracks
      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.
      4 
      5 'use strict';
      6 
      7 base.requireStylesheet('tracing.tracks.spacing_track');
      8 
      9 base.require('tracing.tracks.heading_track');
     10 
     11 base.exportTo('tracing.tracks', function() {
     12   /**
     13    * @constructor
     14    */
     15   var SpacingTrack = ui.define('spacing-track', tracing.tracks.HeadingTrack);
     16 
     17   SpacingTrack.prototype = {
     18     __proto__: tracing.tracks.HeadingTrack.prototype,
     19 
     20     decorate: function(viewport) {
     21       tracing.tracks.HeadingTrack.prototype.decorate.call(this, viewport);
     22       this.classList.add('spacing-track');
     23     },
     24 
     25     draw: function(type, viewLWorld, viewRWorld) {
     26     },
     27 
     28     addAllObjectsMatchingFilterToSelection: function(filter, selection) {
     29     }
     30   };
     31 
     32   return {
     33     SpacingTrack: SpacingTrack
     34   };
     35 });
     36