Lots of random cleanups, mostly for native_theme_win.cc:
[chromium-blink-merge.git] / cc / test / test_tile_priorities.cc
blob4de76ba7aa1df238373f544651b1b4d460137d66
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.
5 #include "cc/test/test_tile_priorities.h"
7 namespace cc {
9 TilePriorityForSoonBin::TilePriorityForSoonBin()
10 : TilePriority(HIGH_RESOLUTION, SOON, 300.0) {}
12 TilePriorityForEventualBin::TilePriorityForEventualBin()
13 : TilePriority(HIGH_RESOLUTION, EVENTUALLY, 315.0) {}
15 TilePriorityForNowBin::TilePriorityForNowBin()
16 : TilePriority(HIGH_RESOLUTION, NOW, 0) {}
18 TilePriorityRequiredForActivation::TilePriorityRequiredForActivation()
19 : TilePriority(HIGH_RESOLUTION, NOW, 0) {
20 required_for_activation = true;
23 TilePriorityLowRes::TilePriorityLowRes()
24 : TilePriority(LOW_RESOLUTION, NOW, 0) {}
26 } // namespace cc