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

Unified Diff: cc/blimp/layer_factory.h

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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/blimp/image_serialization_processor.h ('k') | cc/blimp/layer_tree_host_remote.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_factory.h
diff --git a/cc/blimp/layer_factory.h b/cc/blimp/layer_factory.h
deleted file mode 100644
index 0c0c88cdeb6203aca43cd464b0184f03a0b0b652..0000000000000000000000000000000000000000
--- a/cc/blimp/layer_factory.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2016 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_BLIMP_LAYER_FACTORY_H_
-#define CC_BLIMP_LAYER_FACTORY_H_
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "cc/input/scrollbar.h"
-
-namespace cc {
-class ContentLayerClient;
-class Layer;
-class PictureLayer;
-class SolidColorScrollbarLayer;
-
-// Used to allow tests to inject the Layer created by the
-// CompositorStateDeserializer on the client.
-class LayerFactory {
- public:
- virtual ~LayerFactory() {}
-
- virtual scoped_refptr<Layer> CreateLayer(int engine_layer_id) = 0;
-
- virtual scoped_refptr<PictureLayer> CreatePictureLayer(
- int engine_layer_id,
- ContentLayerClient* content_layer_client) = 0;
-
- virtual scoped_refptr<SolidColorScrollbarLayer>
- CreateSolidColorScrollbarLayer(int engine_layer_id,
- ScrollbarOrientation orientation,
- int thumb_thickness,
- int track_start,
- bool is_left_side_vertical_scrollbar,
- int scroll_layer_id) = 0;
-
- // Create layers for testing.
- virtual scoped_refptr<PictureLayer> CreateFakePictureLayer(
- int engine_layer_id,
- ContentLayerClient* content_layer_client) = 0;
-
- virtual scoped_refptr<Layer> CreatePushPropertiesCountingLayer(
- int engine_layer_id) = 0;
-};
-
-} // namespace cc
-
-#endif // CC_BLIMP_LAYER_FACTORY_H_
« no previous file with comments | « cc/blimp/image_serialization_processor.h ('k') | cc/blimp/layer_tree_host_remote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698