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

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 1144523003: Rename cc::ResourceProvider::ResourceId to cc::ResourceId and move it to its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_no_message_loop.cc ('k') | cc/trees/layer_tree_impl.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_TREES_LAYER_TREE_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // See swap_promise.h for how to use SwapPromise. 279 // See swap_promise.h for how to use SwapPromise.
280 void QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise); 280 void QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise);
281 281
282 // Take the |new_swap_promise| and append it to |swap_promise_list_|. 282 // Take the |new_swap_promise| and append it to |swap_promise_list_|.
283 void PassSwapPromises(ScopedPtrVector<SwapPromise>* new_swap_promise); 283 void PassSwapPromises(ScopedPtrVector<SwapPromise>* new_swap_promise);
284 void FinishSwapPromises(CompositorFrameMetadata* metadata); 284 void FinishSwapPromises(CompositorFrameMetadata* metadata);
285 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason); 285 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason);
286 286
287 void DidModifyTilePriorities(); 287 void DidModifyTilePriorities();
288 288
289 ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const; 289 ResourceId ResourceIdForUIResource(UIResourceId uid) const;
290 void ProcessUIResourceRequestQueue(); 290 void ProcessUIResourceRequestQueue();
291 291
292 bool IsUIResourceOpaque(UIResourceId uid) const; 292 bool IsUIResourceOpaque(UIResourceId uid) const;
293 293
294 void RegisterPictureLayerImpl(PictureLayerImpl* layer); 294 void RegisterPictureLayerImpl(PictureLayerImpl* layer);
295 void UnregisterPictureLayerImpl(PictureLayerImpl* layer); 295 void UnregisterPictureLayerImpl(PictureLayerImpl* layer);
296 const std::vector<PictureLayerImpl*>& picture_layers() const { 296 const std::vector<PictureLayerImpl*>& picture_layers() const {
297 return picture_layers_; 297 return picture_layers_;
298 } 298 }
299 299
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 426
427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
428 428
429 private: 429 private:
430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
431 }; 431 };
432 432
433 } // namespace cc 433 } // namespace cc
434 434
435 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 435 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_no_message_loop.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698