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 #include "athena/task/public/task.h" |
| 6 #include "base/memory/scoped_ptr.h" |
| 7 |
| 8 class SampleTask : public athena::Task { |
| 9 public: |
| 10 SampleTask(SkColor color, |
| 11 SkColor content, |
| 12 const std::string& title); |
| 13 virtual ~SampleTask(); |
| 14 |
| 15 private: |
| 16 // athena::Task: |
| 17 virtual SkColor GetRepresentativeColor() OVERRIDE; |
| 18 virtual std::string GetTitle() OVERRIDE; |
| 19 virtual aura::Window* GetNativeWindow() OVERRIDE; |
| 20 |
| 21 SkColor color_; |
| 22 SkColor content_color_; |
| 23 std::string title_; |
| 24 scoped_ptr<aura::Window> window_; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(SampleTask); |
| 27 }; |
OLD | NEW |