Index: athena/task/public/task.h |
diff --git a/athena/task/public/task.h b/athena/task/public/task.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..efa0e9d3567d7c8c6cb3e90783b4766d2e10b02c |
--- /dev/null |
+++ b/athena/task/public/task.h |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ATHENA_TASK_TASK_H_ |
+#define ATHENA_TASK_TASK_H_ |
+ |
+#include <string> |
+ |
+#include "athena/athena_export.h" |
+ |
+typedef unsigned int SkColor; |
+ |
+namespace aura { |
+class Window; |
+} |
+ |
+namespace athena { |
+ |
Mr4D (OOO till 08-26)
2014/05/27 20:12:42
Could you please add a comment towards what a Task
|
+class ATHENA_EXPORT Task { |
+ public: |
+ virtual ~Task() {} |
+ |
+ // Returns a color most representative of this task. |
+ virtual SkColor GetRepresentativeColor() = 0; |
+ |
+ // Returns a title for the task. |
+ virtual std::string GetTitle() = 0; |
+ |
+ // Returns the native window containing the task. |
+ 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
|
+}; |
+ |
+} // namespace athena |
+ |
+#endif // ATHENA_TASK_TASK_H_ |