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

Unified Diff: cc/resources/recording_source.h

Issue 832963002: Revert of cc: Remove tile and scale specific code from raster source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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/resources/picture_pile_unittest.cc ('k') | cc/test/fake_picture_pile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/recording_source.h
diff --git a/cc/resources/recording_source.h b/cc/resources/recording_source.h
index 728e9b625565b9da90d786497b5b9d2754a1ce32..173e1a0b039e490d678125bfd65d9de4d01c3338 100644
--- a/cc/resources/recording_source.h
+++ b/cc/resources/recording_source.h
@@ -38,8 +38,12 @@
virtual gfx::Size GetSize() const = 0;
virtual void SetEmptyBounds() = 0;
+ virtual void SetMinContentsScale(float min_contents_scale) = 0;
virtual void SetSlowdownRasterScaleFactor(int factor) = 0;
virtual bool IsSuitableForGpuRasterization() const = 0;
+
+ // TODO(hendrikw): This is an implementation detail, remove it when possible.
+ virtual void SetTileGridSize(const gfx::Size& tile_grid_size) = 0;
// TODO(hendrikw): Figure out how to remove this.
virtual void SetUnsuitableForGpuRasterizationForTesting() = 0;
« no previous file with comments | « cc/resources/picture_pile_unittest.cc ('k') | cc/test/fake_picture_pile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698