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

Unified Diff: cc/tiles/tile_manager.h

Issue 1866043006: cc: Remove ScheduleOnOriginThread() and CompleteOnOriginThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 7 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/tiles/software_image_decode_controller_unittest.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index b98c4ec49ad83ca0a26e2837f05f8ed0f978add4..b522423415fd50d29a53ec3c5adb95b15f2a11b6 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -197,6 +197,11 @@ class CC_EXPORT TileManager {
return has_scheduled_tile_tasks_;
}
+ void OnRasterTaskCompleted(std::unique_ptr<RasterBuffer> raster_buffer,
+ Tile* tile,
+ Resource* resource,
+ bool was_canceled);
+
protected:
TileManager(TileManagerClient* client,
scoped_refptr<base::SequencedTaskRunner> task_runner,
@@ -244,11 +249,6 @@ class CC_EXPORT TileManager {
int resource_count_;
};
- void OnRasterTaskCompleted(
- Tile::Id tile,
- Resource* resource,
- bool was_canceled);
-
void FreeResourcesForTile(Tile* tile);
void FreeResourcesForTileAndNotifyClientIfTileWasReadyToDraw(Tile* tile);
scoped_refptr<TileTask> CreateRasterTask(
« no previous file with comments | « cc/tiles/software_image_decode_controller_unittest.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698