Move Flow layers to //flow/layers
This commit is contained in:
@@ -6,38 +6,38 @@ source_set("flow") {
|
||||
sources = [
|
||||
"checkerboard.cc",
|
||||
"checkerboard.h",
|
||||
"clip_path_layer.cc",
|
||||
"clip_path_layer.h",
|
||||
"clip_rect_layer.cc",
|
||||
"clip_rect_layer.h",
|
||||
"clip_rrect_layer.cc",
|
||||
"clip_rrect_layer.h",
|
||||
"color_filter_layer.cc",
|
||||
"color_filter_layer.h",
|
||||
"container_layer.cc",
|
||||
"container_layer.h",
|
||||
"child_scene_layer.cc",
|
||||
"child_scene_layer.h",
|
||||
"instrumentation.cc",
|
||||
"instrumentation.h",
|
||||
"layer.cc",
|
||||
"layer.h",
|
||||
"layer_tree.cc",
|
||||
"layer_tree.h",
|
||||
"opacity_layer.cc",
|
||||
"opacity_layer.h",
|
||||
"layers/child_scene_layer.cc",
|
||||
"layers/child_scene_layer.h",
|
||||
"layers/clip_path_layer.cc",
|
||||
"layers/clip_path_layer.h",
|
||||
"layers/clip_rect_layer.cc",
|
||||
"layers/clip_rect_layer.h",
|
||||
"layers/clip_rrect_layer.cc",
|
||||
"layers/clip_rrect_layer.h",
|
||||
"layers/color_filter_layer.cc",
|
||||
"layers/color_filter_layer.h",
|
||||
"layers/container_layer.cc",
|
||||
"layers/container_layer.h",
|
||||
"layers/layer.cc",
|
||||
"layers/layer.h",
|
||||
"layers/layer_tree.cc",
|
||||
"layers/layer_tree.h",
|
||||
"layers/opacity_layer.cc",
|
||||
"layers/opacity_layer.h",
|
||||
"layers/performance_overlay_layer.cc",
|
||||
"layers/performance_overlay_layer.h",
|
||||
"layers/picture_layer.cc",
|
||||
"layers/picture_layer.h",
|
||||
"layers/shader_mask_layer.cc",
|
||||
"layers/shader_mask_layer.h",
|
||||
"layers/transform_layer.cc",
|
||||
"layers/transform_layer.h",
|
||||
"paint_context.cc",
|
||||
"paint_context.h",
|
||||
"picture_layer.cc",
|
||||
"picture_layer.h",
|
||||
"raster_cache.cc",
|
||||
"raster_cache.h",
|
||||
"performance_overlay_layer.cc",
|
||||
"performance_overlay_layer.h",
|
||||
"shader_mask_layer.cc",
|
||||
"shader_mask_layer.h",
|
||||
"transform_layer.cc",
|
||||
"transform_layer.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/child_scene_layer.h"
|
||||
#include "flow/layers/child_scene_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_CHILD_SCENE_LAYER_H_
|
||||
#define FLOW_CHILD_SCENE_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_CHILD_SCENE_LAYER_H_
|
||||
#define FLOW_LAYERS_CHILD_SCENE_LAYER_H_
|
||||
|
||||
#include "flow/layer.h"
|
||||
#include "flow/layers/layer.h"
|
||||
#include "mojo/services/gfx/composition/interfaces/scenes.mojom.h"
|
||||
|
||||
namespace flow {
|
||||
@@ -37,4 +37,4 @@ class ChildSceneLayer : public Layer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_CHILD_SCENE_LAYER_H_
|
||||
#endif // FLOW_LAYERS_CHILD_SCENE_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/clip_path_layer.h"
|
||||
#include "flow/layers/clip_path_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_CLIP_PATH_LAYER_H_
|
||||
#define FLOW_CLIP_PATH_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_CLIP_PATH_LAYER_H_
|
||||
#define FLOW_LAYERS_CLIP_PATH_LAYER_H_
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -27,4 +27,4 @@ class ClipPathLayer : public ContainerLayer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_CLIP_PATH_LAYER_H_
|
||||
#endif // FLOW_LAYERS_CLIP_PATH_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/clip_rect_layer.h"
|
||||
#include "flow/layers/clip_rect_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_CLIP_RECT_LAYER_H_
|
||||
#define FLOW_CLIP_RECT_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_CLIP_RECT_LAYER_H_
|
||||
#define FLOW_LAYERS_CLIP_RECT_LAYER_H_
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -27,4 +27,4 @@ class ClipRectLayer : public ContainerLayer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_CLIP_RECT_LAYER_H_
|
||||
#endif // FLOW_LAYERS_CLIP_RECT_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/clip_rrect_layer.h"
|
||||
#include "flow/layers/clip_rrect_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_CLIP_RRECT_LAYER_H_
|
||||
#define FLOW_CLIP_RRECT_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_CLIP_RRECT_LAYER_H_
|
||||
#define FLOW_LAYERS_CLIP_RRECT_LAYER_H_
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -26,4 +26,4 @@ class ClipRRectLayer : public ContainerLayer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_CLIP_RRECT_LAYER_H_
|
||||
#endif // FLOW_LAYERS_CLIP_RRECT_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/color_filter_layer.h"
|
||||
#include "flow/layers/color_filter_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_COLOR_FILTER_LAYER_H_
|
||||
#define FLOW_COLOR_FILTER_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_COLOR_FILTER_LAYER_H_
|
||||
#define FLOW_LAYERS_COLOR_FILTER_LAYER_H_
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -33,4 +33,4 @@ class ColorFilterLayer : public ContainerLayer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_COLOR_FILTER_LAYER_H_
|
||||
#endif // FLOW_LAYERS_COLOR_FILTER_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_CONTAINER_LAYER_H_
|
||||
#define FLOW_CONTAINER_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_CONTAINER_LAYER_H_
|
||||
#define FLOW_LAYERS_CONTAINER_LAYER_H_
|
||||
|
||||
#include <vector>
|
||||
#include "flow/layer.h"
|
||||
#include "flow/layers/layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -32,4 +32,4 @@ class ContainerLayer : public Layer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_CONTAINER_LAYER_H_
|
||||
#endif // FLOW_LAYERS_CONTAINER_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/layer.h"
|
||||
#include "flow/layers/layer.h"
|
||||
|
||||
#include "third_party/skia/include/core/SkColorFilter.h"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_LAYER_H_
|
||||
#define FLOW_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_LAYER_H_
|
||||
#define FLOW_LAYERS_LAYER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
@@ -64,4 +64,4 @@ class Layer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_LAYER_H_
|
||||
#endif // FLOW_LAYERS_LAYER_H_
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/layer_tree.h"
|
||||
#include "flow/layers/layer_tree.h"
|
||||
|
||||
#include "base/trace_event/trace_event.h"
|
||||
#include "flow/layer.h"
|
||||
#include "flow/layers/layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_LAYER_TREE_H_
|
||||
#define FLOW_LAYER_TREE_H_
|
||||
#ifndef FLOW_LAYERS_LAYER_TREE_H_
|
||||
#define FLOW_LAYERS_LAYER_TREE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <memory>
|
||||
|
||||
#include "base/macros.h"
|
||||
#include "base/time/time.h"
|
||||
#include "flow/layer.h"
|
||||
#include "flow/layers/layer.h"
|
||||
#include "third_party/skia/include/core/SkSize.h"
|
||||
|
||||
namespace flow {
|
||||
@@ -63,4 +63,4 @@ class LayerTree {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_LAYER_TREE_H_
|
||||
#endif // FLOW_LAYERS_LAYER_TREE_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/opacity_layer.h"
|
||||
#include "flow/layers/opacity_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_OPACITY_LAYER_H_
|
||||
#define FLOW_OPACITY_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_OPACITY_LAYER_H_
|
||||
#define FLOW_LAYERS_OPACITY_LAYER_H_
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -28,4 +28,4 @@ class OpacityLayer : public ContainerLayer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_OPACITY_LAYER_H_
|
||||
#endif // FLOW_LAYERS_OPACITY_LAYER_H_
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
#include "flow/performance_overlay_layer.h"
|
||||
#include "flow/layers/performance_overlay_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_PERFORMANCE_OVERLAY_LAYER_H_
|
||||
#define FLOW_PERFORMANCE_OVERLAY_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_PERFORMANCE_OVERLAY_LAYER_H_
|
||||
#define FLOW_LAYERS_PERFORMANCE_OVERLAY_LAYER_H_
|
||||
|
||||
#include "base/macros.h"
|
||||
#include "flow/layer.h"
|
||||
#include "flow/layers/layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -29,4 +29,4 @@ class PerformanceOverlayLayer : public Layer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_PERFORMANCE_OVERLAY_LAYER_H_
|
||||
#endif // FLOW_LAYERS_PERFORMANCE_OVERLAY_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/picture_layer.h"
|
||||
#include "flow/layers/picture_layer.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "flow/checkerboard.h"
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_PICTURE_LAYER_H_
|
||||
#define FLOW_PICTURE_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_PICTURE_LAYER_H_
|
||||
#define FLOW_LAYERS_PICTURE_LAYER_H_
|
||||
|
||||
#include "flow/layer.h"
|
||||
#include "flow/layers/layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -35,4 +35,4 @@ class PictureLayer : public Layer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_PICTURE_LAYER_H_
|
||||
#endif // FLOW_LAYERS_PICTURE_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/shader_mask_layer.h"
|
||||
#include "flow/layers/shader_mask_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_SHADER_MASK_LAYER_H_
|
||||
#define FLOW_SHADER_MASK_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_SHADER_MASK_LAYER_H_
|
||||
#define FLOW_LAYERS_SHADER_MASK_LAYER_H_
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
#include "third_party/skia/include/core/SkShader.h"
|
||||
|
||||
@@ -40,4 +40,4 @@ class ShaderMaskLayer : public ContainerLayer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_SHADER_MASK_LAYER_H_
|
||||
#endif // FLOW_LAYERS_SHADER_MASK_LAYER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flow/transform_layer.h"
|
||||
#include "flow/layers/transform_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FLOW_TRANSFORM_LAYER_H_
|
||||
#define FLOW_TRANSFORM_LAYER_H_
|
||||
#ifndef FLOW_LAYERS_TRANSFORM_LAYER_H_
|
||||
#define FLOW_LAYERS_TRANSFORM_LAYER_H_
|
||||
|
||||
#include "flow/container_layer.h"
|
||||
#include "flow/layers/container_layer.h"
|
||||
|
||||
namespace flow {
|
||||
|
||||
@@ -27,4 +27,4 @@ class TransformLayer : public ContainerLayer {
|
||||
|
||||
} // namespace flow
|
||||
|
||||
#endif // FLOW_TRANSFORM_LAYER_H_
|
||||
#endif // FLOW_LAYERS_TRANSFORM_LAYER_H_
|
||||
Reference in New Issue
Block a user