| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_PRIORITY_CALCULATOR_H_ | 5 #ifndef CC_PRIORITY_CALCULATOR_H_ |
| 6 #define CC_PRIORITY_CALCULATOR_H_ | 6 #define CC_PRIORITY_CALCULATOR_H_ |
| 7 | 7 |
| 8 #include "cc/cc_export.h" | 8 #include "cc/base/cc_export.h" |
| 9 | 9 |
| 10 namespace gfx { | 10 namespace gfx { |
| 11 class Rect; | 11 class Rect; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class CC_EXPORT PriorityCalculator { | 16 class CC_EXPORT PriorityCalculator { |
| 17 public: | 17 public: |
| 18 static int uiPriority(bool drawsToRootSurface); | 18 static int uiPriority(bool drawsToRootSurface); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 static int allowNothingCutoff(); | 31 static int allowNothingCutoff(); |
| 32 static int allowVisibleOnlyCutoff(); | 32 static int allowVisibleOnlyCutoff(); |
| 33 static int allowVisibleAndNearbyCutoff(); | 33 static int allowVisibleAndNearbyCutoff(); |
| 34 static int allowEverythingCutoff(); | 34 static int allowEverythingCutoff(); |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } | 37 } |
| 38 | 38 |
| 39 #endif // CC_PRIORITY_CALCULATOR_H_ | 39 #endif // CC_PRIORITY_CALCULATOR_H_ |
| OLD | NEW |