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

Side by Side Diff: cc/playback/recording_source.h

Issue 2493523003: cc: Remove unused proto conversion code. (Closed)
Patch Set: test Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « cc/layers/solid_color_scrollbar_layer.cc ('k') | cc/test/fake_remote_compositor_bridge.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_PLAYBACK_RECORDING_SOURCE_H_ 5 #ifndef CC_PLAYBACK_RECORDING_SOURCE_H_
6 #define CC_PLAYBACK_RECORDING_SOURCE_H_ 6 #define CC_PLAYBACK_RECORDING_SOURCE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void SetBackgroundColor(SkColor background_color); 61 void SetBackgroundColor(SkColor background_color);
62 void SetRequiresClear(bool requires_clear); 62 void SetRequiresClear(bool requires_clear);
63 63
64 void SetNeedsDisplayRect(const gfx::Rect& layer_rect); 64 void SetNeedsDisplayRect(const gfx::Rect& layer_rect);
65 65
66 // These functions are virtual for testing. 66 // These functions are virtual for testing.
67 virtual scoped_refptr<RasterSource> CreateRasterSource( 67 virtual scoped_refptr<RasterSource> CreateRasterSource(
68 bool can_use_lcd_text) const; 68 bool can_use_lcd_text) const;
69 69
70 const DisplayItemList* GetDisplayItemList(); 70 const DisplayItemList* GetDisplayItemList();
71 gfx::Rect recorded_viewport() const { return recorded_viewport_; }
71 72
72 protected: 73 protected:
73 gfx::Rect recorded_viewport_; 74 gfx::Rect recorded_viewport_;
74 gfx::Size size_; 75 gfx::Size size_;
75 int slow_down_raster_scale_factor_for_debug_; 76 int slow_down_raster_scale_factor_for_debug_;
76 bool generate_discardable_images_metadata_; 77 bool generate_discardable_images_metadata_;
77 bool requires_clear_; 78 bool requires_clear_;
78 bool is_solid_color_; 79 bool is_solid_color_;
79 bool clear_canvas_with_debug_color_; 80 bool clear_canvas_with_debug_color_;
80 SkColor solid_color_; 81 SkColor solid_color_;
(...skipping 13 matching lines...) Expand all
94 void DetermineIfSolidColor(); 95 void DetermineIfSolidColor();
95 96
96 InvalidationRegion invalidation_; 97 InvalidationRegion invalidation_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(RecordingSource); 99 DISALLOW_COPY_AND_ASSIGN(RecordingSource);
99 }; 100 };
100 101
101 } // namespace cc 102 } // namespace cc
102 103
103 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_ 104 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_
OLDNEW
« no previous file with comments | « cc/layers/solid_color_scrollbar_layer.cc ('k') | cc/test/fake_remote_compositor_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698