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

Side by Side Diff: cc/layers/layer_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/layers/delegated_renderer_layer_impl.cc ('k') | cc/layers/layer_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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 AppendQuadsData* append_quads_data) {} 248 AppendQuadsData* append_quads_data) {}
249 virtual void DidDraw(ResourceProvider* resource_provider); 249 virtual void DidDraw(ResourceProvider* resource_provider);
250 250
251 // Verify that the resource ids in the quad are valid. 251 // Verify that the resource ids in the quad are valid.
252 void ValidateQuadResources(DrawQuad* quad) const { 252 void ValidateQuadResources(DrawQuad* quad) const {
253 #if DCHECK_IS_ON() 253 #if DCHECK_IS_ON()
254 ValidateQuadResourcesInternal(quad); 254 ValidateQuadResourcesInternal(quad);
255 #endif 255 #endif
256 } 256 }
257 257
258 virtual void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, 258 virtual void GetContentsResourceId(ResourceId* resource_id,
259 gfx::Size* resource_size) const; 259 gfx::Size* resource_size) const;
260 260
261 virtual bool HasDelegatedContent() const; 261 virtual bool HasDelegatedContent() const;
262 virtual bool HasContributingDelegatedRenderPasses() const; 262 virtual bool HasContributingDelegatedRenderPasses() const;
263 virtual RenderPassId FirstContributingRenderPassId() const; 263 virtual RenderPassId FirstContributingRenderPassId() const;
264 virtual RenderPassId NextContributingRenderPassId(RenderPassId id) const; 264 virtual RenderPassId NextContributingRenderPassId(RenderPassId id) const;
265 265
266 virtual void NotifyTileStateChanged(const Tile* tile) {} 266 virtual void NotifyTileStateChanged(const Tile* tile) {}
267 267
268 virtual ScrollbarLayerImplBase* ToScrollbarLayer(); 268 virtual ScrollbarLayerImplBase* ToScrollbarLayer();
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 830
831 std::vector<FrameTimingRequest> frame_timing_requests_; 831 std::vector<FrameTimingRequest> frame_timing_requests_;
832 bool frame_timing_requests_dirty_; 832 bool frame_timing_requests_dirty_;
833 833
834 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 834 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
835 }; 835 };
836 836
837 } // namespace cc 837 } // namespace cc
838 838
839 #endif // CC_LAYERS_LAYER_IMPL_H_ 839 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698