Index: cc/resources/display_list_recording_source.h |
diff --git a/cc/resources/display_list_recording_source.h b/cc/resources/display_list_recording_source.h |
deleted file mode 100644 |
index 2d994f6263f7b92343cd30992d3ba2bc3c3826c4..0000000000000000000000000000000000000000 |
--- a/cc/resources/display_list_recording_source.h |
+++ /dev/null |
@@ -1,70 +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_RESOURCES_DISPLAY_LIST_RECORDING_SOURCE_H_ |
-#define CC_RESOURCES_DISPLAY_LIST_RECORDING_SOURCE_H_ |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "cc/resources/recording_source.h" |
- |
-namespace cc { |
-class DisplayItemList; |
-class DisplayListRasterSource; |
- |
-class CC_EXPORT DisplayListRecordingSource : public RecordingSource { |
- public: |
- DisplayListRecordingSource(const gfx::Size& grid_cell_size, |
- bool use_cached_picture); |
- ~DisplayListRecordingSource() override; |
- |
- // RecordingSource overrides. |
- bool UpdateAndExpandInvalidation(ContentLayerClient* painter, |
- Region* invalidation, |
- const gfx::Size& layer_size, |
- const gfx::Rect& visible_layer_rect, |
- int frame_number, |
- RecordingMode recording_mode) override; |
- scoped_refptr<RasterSource> CreateRasterSource( |
- bool can_use_lcd_text) const override; |
- gfx::Size GetSize() const final; |
- void SetEmptyBounds() override; |
- void SetSlowdownRasterScaleFactor(int factor) override; |
- void SetGatherPixelRefs(bool gather_pixel_refs) override; |
- void SetBackgroundColor(SkColor background_color) override; |
- void SetRequiresClear(bool requires_clear) override; |
- bool IsSuitableForGpuRasterization() const override; |
- void SetUnsuitableForGpuRasterizationForTesting() override; |
- gfx::Size GetTileGridSizeForTesting() const override; |
- |
- protected: |
- void Clear(); |
- |
- const bool use_cached_picture_; |
- |
- gfx::Rect recorded_viewport_; |
- gfx::Size size_; |
- int slow_down_raster_scale_factor_for_debug_; |
- bool gather_pixel_refs_; |
- bool requires_clear_; |
- bool is_solid_color_; |
- SkColor solid_color_; |
- SkColor background_color_; |
- int pixel_record_distance_; |
- gfx::Size grid_cell_size_; |
- |
- scoped_refptr<DisplayItemList> display_list_; |
- |
- private: |
- friend class DisplayListRasterSource; |
- |
- void DetermineIfSolidColor(); |
- |
- bool is_suitable_for_gpu_rasterization_; |
- |
- DISALLOW_COPY_AND_ASSIGN(DisplayListRecordingSource); |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_RESOURCES_DISPLAY_LIST_RECORDING_SOURCE_H_ |