Home | History | Annotate | Download | only in model
      1 <!DOCTYPE html>
      2 <!--
      3 Copyright (c) 2015 The Chromium Authors. All rights reserved.
      4 Use of this source code is governed by a BSD-style license that can be
      5 found in the LICENSE file.
      6 -->
      7 
      8 <link rel="import" href="/base/base.html">
      9 
     10 <script>
     11 'use strict';
     12 
     13 /**
     14  * @fileoverview Provides the SelectionState class.
     15  */
     16 tr.exportTo('tr.model', function() {
     17 
     18   /**
     19    * The SelectionState enum defines how selectable items are displayed in the
     20    * view.
     21    */
     22   var SelectionState = {
     23     NONE: 0,
     24     SELECTED: 1,
     25     HIGHLIGHTED: 2,
     26     DIMMED: 3
     27   };
     28 
     29   return {
     30     SelectionState: SelectionState
     31   };
     32 });
     33 </script>
     34