| 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_RESOURCE_UPDATE_CONTROLLER_H_ | 5 #ifndef CC_RESOURCE_UPDATE_CONTROLLER_H_ |
| 6 #define CC_RESOURCE_UPDATE_CONTROLLER_H_ | 6 #define CC_RESOURCE_UPDATE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/time.h" | 11 #include "base/time.h" |
| 12 #include "cc/cc_export.h" | 12 #include "cc/base/cc_export.h" |
| 13 #include "cc/resource_update_queue.h" | 13 #include "cc/resource_update_queue.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 | 16 |
| 17 class ResourceProvider; | 17 class ResourceProvider; |
| 18 class Thread; | 18 class Thread; |
| 19 | 19 |
| 20 class ResourceUpdateControllerClient { | 20 class ResourceUpdateControllerClient { |
| 21 public: | 21 public: |
| 22 virtual void ReadyToFinalizeTextureUpdates() = 0; | 22 virtual void ReadyToFinalizeTextureUpdates() = 0; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 Thread* thread_; | 80 Thread* thread_; |
| 81 base::WeakPtrFactory<ResourceUpdateController> weak_factory_; | 81 base::WeakPtrFactory<ResourceUpdateController> weak_factory_; |
| 82 bool task_posted_; | 82 bool task_posted_; |
| 83 | 83 |
| 84 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateController); | 84 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateController); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace cc | 87 } // namespace cc |
| 88 | 88 |
| 89 #endif // CC_RESOURCE_UPDATE_CONTROLLER_H_ | 89 #endif // CC_RESOURCE_UPDATE_CONTROLLER_H_ |
| OLD | NEW |