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

Unified Diff: cc/layers/layer_impl.h

Issue 404563005: Make RenderPass::Id an isolated class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more case in mojo Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/delegated_renderer_layer_unittest.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index b09cb3f4970792d56829a9899dcd48d048450527..b75dc4b81addf5c81bc9fb3869ac449edda02513 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -24,7 +24,6 @@
#include "cc/layers/layer_position_constraint.h"
#include "cc/layers/render_surface_impl.h"
#include "cc/output/filter_operations.h"
-#include "cc/quads/render_pass.h"
#include "cc/quads/shared_quad_state.h"
#include "cc/resources/resource_provider.h"
#include "skia/ext/refptr.h"
@@ -52,6 +51,8 @@ class LayerTreeImpl;
class MicroBenchmarkImpl;
template <typename LayerType>
class OcclusionTracker;
+class RenderPass;
+class RenderPassId;
class Renderer;
class ScrollbarAnimationController;
class ScrollbarLayerImplBase;
@@ -199,8 +200,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
virtual bool HasDelegatedContent() const;
virtual bool HasContributingDelegatedRenderPasses() const;
- virtual RenderPass::Id FirstContributingRenderPassId() const;
- virtual RenderPass::Id NextContributingRenderPassId(RenderPass::Id id) const;
+ virtual RenderPassId FirstContributingRenderPassId() const;
+ virtual RenderPassId NextContributingRenderPassId(RenderPassId id) const;
virtual void UpdateTiles(
const OcclusionTracker<LayerImpl>* occlusion_tracker) {}
« no previous file with comments | « cc/layers/delegated_renderer_layer_unittest.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698