Home | History | Annotate | Download | only in test
      1 // Copyright 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 #include "cc/test/test_tile_priorities.h"
      6 
      7 namespace cc {
      8 
      9 TilePriorityForSoonBin::TilePriorityForSoonBin()
     10     : TilePriority(HIGH_RESOLUTION, 0.5, 300.0) {}
     11 
     12 TilePriorityForEventualBin::TilePriorityForEventualBin()
     13     : TilePriority(NON_IDEAL_RESOLUTION, 1.0, 315.0) {}
     14 
     15 TilePriorityForNowBin::TilePriorityForNowBin()
     16     : TilePriority(HIGH_RESOLUTION, 0, 0) {}
     17 
     18 TilePriorityRequiredForActivation::TilePriorityRequiredForActivation()
     19     : TilePriority(HIGH_RESOLUTION, 0, 0) {
     20   required_for_activation = true;
     21 }
     22 
     23 }  // namespace cc
     24