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

Side by Side Diff: cc/raster/task_types.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: nits 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_RASTER_TASK_TYPES_H_
6 #define CC_RASTER_TASK_TYPES_H_
7
8 #include <stdint.h>
9
10 namespace cc {
11
12 // Task requiring specific handling (e.g. processing completed task in
13 // different manner) needs to be declared here. With TaskType they can be
14 // differenciated. Task not specifying the TaskType gets created with
15 // TASK_TYPE_DEFAULT.
16 enum TaskType : uint32_t {
17 TASK_TYPE_DEFAULT,
18 TASK_TYPE_RASTER,
19 TASK_TYPE_IMAGE_DECODE,
20 TASK_TYPE_IMAGE_UPLOAD
21 };
reveman 2016/04/16 10:10:28 can we move this into tile_manager.cc or tile_mana
22
23 } // namespace cc
24
25 #endif // CC_RASTER_TASK_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698