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

Side by Side Diff: athena/ui/sample_task.h

Issue 302683002: athena: Add the concept of Activity and related managers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698