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

Side by Side Diff: cc/raster/tile_task_worker_pool.h

Issue 1890903002: cc: Simplify Task and its derived classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_tile_task_runner
Patch Set: feedback Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RASTER_TILE_TASK_WORKER_POOL_H_ 5 #ifndef CC_RASTER_TILE_TASK_WORKER_POOL_H_
6 #define CC_RASTER_TILE_TASK_WORKER_POOL_H_ 6 #define CC_RASTER_TILE_TASK_WORKER_POOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "cc/playback/raster_source.h" 10 #include "cc/playback/raster_source.h"
11 #include "cc/raster/task_graph_runner.h"
11 #include "cc/raster/tile_task_runner.h" 12 #include "cc/raster/tile_task_runner.h"
12 #include "ui/gfx/geometry/rect.h" 13 #include "ui/gfx/geometry/rect.h"
13 #include "ui/gfx/geometry/size.h" 14 #include "ui/gfx/geometry/size.h"
14 15
15 namespace base { 16 namespace base {
16 class SequencedTaskRunner; 17 class SequencedTaskRunner;
17 } 18 }
18 19
19 namespace cc { 20 namespace cc {
20 class RenderingStatsInstrumentation; 21 class RenderingStatsInstrumentation;
(...skipping 25 matching lines...) Expand all
46 float scale, 47 float scale,
47 const RasterSource::PlaybackSettings& playback_settings); 48 const RasterSource::PlaybackSettings& playback_settings);
48 49
49 // Type-checking downcast routine. 50 // Type-checking downcast routine.
50 virtual TileTaskRunner* AsTileTaskRunner() = 0; 51 virtual TileTaskRunner* AsTileTaskRunner() = 0;
51 }; 52 };
52 53
53 } // namespace cc 54 } // namespace cc
54 55
55 #endif // CC_RASTER_TILE_TASK_WORKER_POOL_H_ 56 #endif // CC_RASTER_TILE_TASK_WORKER_POOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698