| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_PRIORITIZED_RESOURCE_H_ | 5 #ifndef CC_RESOURCES_PRIORITIZED_RESOURCE_H_ |
| 6 #define CC_PRIORITIZED_RESOURCE_H_ | 6 #define CC_RESOURCES_PRIORITIZED_RESOURCE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 12 #include "cc/priority_calculator.h" | 12 #include "cc/resources/priority_calculator.h" |
| 13 #include "cc/resource.h" | 13 #include "cc/resources/resource.h" |
| 14 #include "cc/resource_provider.h" | 14 #include "cc/resources/resource_provider.h" |
| 15 #include "third_party/khronos/GLES2/gl2.h" | 15 #include "third_party/khronos/GLES2/gl2.h" |
| 16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
| 17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
| 18 #include "ui/gfx/vector2d.h" | 18 #include "ui/gfx/vector2d.h" |
| 19 | 19 |
| 20 namespace cc { | 20 namespace cc { |
| 21 | 21 |
| 22 class PrioritizedResourceManager; | 22 class PrioritizedResourceManager; |
| 23 class Proxy; | 23 class Proxy; |
| 24 | 24 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 bool m_isSelfManaged; | 148 bool m_isSelfManaged; |
| 149 | 149 |
| 150 Backing* m_backing; | 150 Backing* m_backing; |
| 151 PrioritizedResourceManager* m_manager; | 151 PrioritizedResourceManager* m_manager; |
| 152 | 152 |
| 153 DISALLOW_COPY_AND_ASSIGN(PrioritizedResource); | 153 DISALLOW_COPY_AND_ASSIGN(PrioritizedResource); |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 } // namespace cc | 156 } // namespace cc |
| 157 | 157 |
| 158 #endif // CC_PRIORITIZED_RESOURCE_H_ | 158 #endif // CC_RESOURCES_PRIORITIZED_RESOURCE_H_ |
| OLD | NEW |