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

Unified Diff: cc/layers/surface_layer_impl.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/surface_layer.cc ('k') | cc/layers/surface_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer_impl.h
diff --git a/cc/layers/surface_layer_impl.h b/cc/layers/surface_layer_impl.h
deleted file mode 100644
index 90c0f4565c68d04a207e58f660658048fc7c3d84..0000000000000000000000000000000000000000
--- a/cc/layers/surface_layer_impl.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_LAYERS_SURFACE_LAYER_IMPL_H_
-#define CC_LAYERS_SURFACE_LAYER_IMPL_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
-#include "cc/layers/layer_impl.h"
-#include "cc/surfaces/surface_id.h"
-
-namespace cc {
-
-class CC_EXPORT SurfaceLayerImpl : public LayerImpl {
- public:
- static scoped_ptr<SurfaceLayerImpl> Create(LayerTreeImpl* tree_impl, int id) {
- return make_scoped_ptr(new SurfaceLayerImpl(tree_impl, id));
- }
- ~SurfaceLayerImpl() override;
-
- void SetSurfaceId(SurfaceId surface_id);
-
- // LayerImpl overrides.
- scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
- void PushPropertiesTo(LayerImpl* layer) override;
- void AppendQuads(RenderPass* render_pass,
- AppendQuadsData* append_quads_data) override;
-
- protected:
- SurfaceLayerImpl(LayerTreeImpl* tree_impl, int id);
-
- private:
- void GetDebugBorderProperties(SkColor* color, float* width) const override;
- void AsValueInto(base::trace_event::TracedValue* dict) const override;
- const char* LayerTypeAsString() const override;
-
- SurfaceId surface_id_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfaceLayerImpl);
-};
-
-} // namespace cc
-
-#endif // CC_LAYERS_SURFACE_LAYER_IMPL_H_
« no previous file with comments | « cc/layers/surface_layer.cc ('k') | cc/layers/surface_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698