OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ATHENA_TASK_TASK_H_ | |
6 #define ATHENA_TASK_TASK_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "athena/athena_export.h" | |
11 | |
12 typedef unsigned int SkColor; | |
13 | |
14 namespace aura { | |
15 class Window; | |
16 } | |
17 | |
18 namespace athena { | |
19 | |
Mr4D (OOO till 08-26)
2014/05/27 20:12:42
Could you please add a comment towards what a Task
| |
20 class ATHENA_EXPORT Task { | |
21 public: | |
22 virtual ~Task() {} | |
23 | |
24 // Returns a color most representative of this task. | |
25 virtual SkColor GetRepresentativeColor() = 0; | |
26 | |
27 // Returns a title for the task. | |
28 virtual std::string GetTitle() = 0; | |
29 | |
30 // Returns the native window containing the task. | |
31 virtual aura::Window* GetNativeWindow() = 0; | |
Mr4D (OOO till 08-26)
2014/05/27 20:12:42
I might be blended by the name "Task" and "TaskMan
sadrul
2014/05/27 20:30:45
Something like that. This is essentially supposed
| |
32 }; | |
33 | |
34 } // namespace athena | |
35 | |
36 #endif // ATHENA_TASK_TASK_H_ | |
OLD | NEW |