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

Unified Diff: cc/test/remote_client_layer_factory.cc

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/test/remote_client_layer_factory.h ('k') | cc/test/remote_compositor_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/remote_client_layer_factory.cc
diff --git a/cc/test/remote_client_layer_factory.cc b/cc/test/remote_client_layer_factory.cc
deleted file mode 100644
index 3ac6b04cfaf320636d5e64f90b877d72cfdfb09f..0000000000000000000000000000000000000000
--- a/cc/test/remote_client_layer_factory.cc
+++ /dev/null
@@ -1,69 +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.
-
-#include "cc/test/remote_client_layer_factory.h"
-
-#include "cc/layers/layer.h"
-#include "cc/layers/picture_layer.h"
-#include "cc/layers/solid_color_scrollbar_layer.h"
-#include "cc/test/fake_picture_layer.h"
-#include "cc/test/push_properties_counting_layer.h"
-
-namespace cc {
-
-RemoteClientLayerFactory::RemoteClientLayerFactory() = default;
-
-RemoteClientLayerFactory::~RemoteClientLayerFactory() = default;
-
-scoped_refptr<Layer> RemoteClientLayerFactory::CreateLayer(
- int engine_layer_id) {
- scoped_refptr<Layer> layer = Layer::Create();
- layer->SetLayerIdForTesting(engine_layer_id);
- return layer;
-}
-
-scoped_refptr<PictureLayer> RemoteClientLayerFactory::CreatePictureLayer(
- int engine_layer_id,
- ContentLayerClient* content_layer_client) {
- scoped_refptr<PictureLayer> layer =
- PictureLayer::Create(content_layer_client);
- layer->SetLayerIdForTesting(engine_layer_id);
- return layer;
-}
-
-scoped_refptr<SolidColorScrollbarLayer>
-RemoteClientLayerFactory::CreateSolidColorScrollbarLayer(
- int engine_layer_id,
- ScrollbarOrientation orientation,
- int thumb_thickness,
- int track_start,
- bool is_left_side_vertical_scrollbar,
- int scroll_layer_id) {
- scoped_refptr<SolidColorScrollbarLayer> layer =
- SolidColorScrollbarLayer::Create(
- orientation, thumb_thickness, track_start,
- is_left_side_vertical_scrollbar, scroll_layer_id);
- layer->SetLayerIdForTesting(engine_layer_id);
- return layer;
-}
-
-scoped_refptr<PictureLayer> RemoteClientLayerFactory::CreateFakePictureLayer(
- int engine_layer_id,
- ContentLayerClient* content_layer_client) {
- scoped_refptr<PictureLayer> layer =
- FakePictureLayer::Create(content_layer_client);
- layer->SetLayerIdForTesting(engine_layer_id);
- return layer;
-}
-
-scoped_refptr<Layer>
-RemoteClientLayerFactory::CreatePushPropertiesCountingLayer(
- int engine_layer_id) {
- scoped_refptr<PushPropertiesCountingLayer> layer =
- PushPropertiesCountingLayer::Create();
- layer->SetLayerIdForTesting(engine_layer_id);
- return layer;
-}
-
-} // namespace cc
« no previous file with comments | « cc/test/remote_client_layer_factory.h ('k') | cc/test/remote_compositor_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698