| Index: athena/ui/sample_task.h
|
| diff --git a/athena/ui/sample_task.h b/athena/ui/sample_task.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b600f8109a3ec782e56d6bb6ca847105ff82d028
|
| --- /dev/null
|
| +++ b/athena/ui/sample_task.h
|
| @@ -0,0 +1,27 @@
|
| +// 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.
|
| +
|
| +#include "athena/task/public/task.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +
|
| +class SampleTask : public athena::Task {
|
| + public:
|
| + SampleTask(SkColor color,
|
| + SkColor content,
|
| + const std::string& title);
|
| + virtual ~SampleTask();
|
| +
|
| + private:
|
| + // athena::Task:
|
| + virtual SkColor GetRepresentativeColor() OVERRIDE;
|
| + virtual std::string GetTitle() OVERRIDE;
|
| + virtual aura::Window* GetNativeWindow() OVERRIDE;
|
| +
|
| + SkColor color_;
|
| + SkColor content_color_;
|
| + std::string title_;
|
| + scoped_ptr<aura::Window> window_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(SampleTask);
|
| +};
|
|
|