Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: cc/resources/resource_update_controller.h

Issue 12471007: Part 8 of cc/ directory shuffles: resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/resources/resource_update.cc ('k') | cc/resources/resource_update_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_RESOURCES_RESOURCE_UPDATE_CONTROLLER_H_
6 #define CC_RESOURCE_UPDATE_CONTROLLER_H_ 6 #define CC_RESOURCES_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/base/cc_export.h" 12 #include "cc/base/cc_export.h"
13 #include "cc/resource_update_queue.h" 13 #include "cc/resources/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;
23 23
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool first_update_attempt_; 79 bool first_update_attempt_;
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_RESOURCES_RESOURCE_UPDATE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « cc/resources/resource_update.cc ('k') | cc/resources/resource_update_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698