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

Unified Diff: cc/layers/picture_image_layer_impl.h

Issue 2094813003: cc: Merge PictureImageLayerImpl and PictureLayerImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: borders Created 4 years, 6 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/picture_image_layer.cc ('k') | cc/layers/picture_image_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_image_layer_impl.h
diff --git a/cc/layers/picture_image_layer_impl.h b/cc/layers/picture_image_layer_impl.h
deleted file mode 100644
index 723990599e5b0e88c79bf7821ea3eb716ec66551..0000000000000000000000000000000000000000
--- a/cc/layers/picture_image_layer_impl.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 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_PICTURE_IMAGE_LAYER_IMPL_H_
-#define CC_LAYERS_PICTURE_IMAGE_LAYER_IMPL_H_
-
-#include "base/macros.h"
-#include "base/memory/ptr_util.h"
-#include "cc/layers/picture_layer_impl.h"
-
-namespace cc {
-
-class CC_EXPORT PictureImageLayerImpl : public PictureLayerImpl {
- public:
- static std::unique_ptr<PictureImageLayerImpl> Create(LayerTreeImpl* tree_impl,
- int id,
- bool is_mask) {
- return base::WrapUnique(new PictureImageLayerImpl(tree_impl, id, is_mask));
- }
- ~PictureImageLayerImpl() override;
-
- // LayerImpl overrides.
- const char* LayerTypeAsString() const override;
- std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
-
- protected:
- PictureImageLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask);
-
- bool ShouldAdjustRasterScale() const override;
- void RecalculateRasterScales() override;
- void GetDebugBorderProperties(SkColor* color, float* width) const override;
-
- void UpdateIdealScales() override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(PictureImageLayerImpl);
-};
-
-} // namespace cc
-
-#endif // CC_LAYERS_PICTURE_IMAGE_LAYER_IMPL_H_
« no previous file with comments | « cc/layers/picture_image_layer.cc ('k') | cc/layers/picture_image_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698