Support for unpacked ARM packed relocations.
[chromium-blink-merge.git] / athena / test / sample_activity.h
blob8f423056b627e02c53059d13b66c986f7b543b2f
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.
5 #ifndef ATHENA_TEST_SAMPLE_ACTIVITY_H_
6 #define ATHENA_TEST_SAMPLE_ACTIVITY_H_
8 #include "athena/activity/public/activity.h"
9 #include "athena/activity/public/activity_view_model.h"
10 #include "base/memory/scoped_ptr.h"
12 namespace athena {
13 namespace test {
15 class SampleActivity : public Activity,
16 public ActivityViewModel {
17 public:
18 SampleActivity(SkColor color,
19 SkColor contents_color,
20 const base::string16& title);
21 virtual ~SampleActivity();
23 private:
24 // athena::Activity:
25 virtual athena::ActivityViewModel* GetActivityViewModel() OVERRIDE;
27 // athena::ActivityViewModel:
28 virtual void Init() OVERRIDE;
29 virtual SkColor GetRepresentativeColor() OVERRIDE;
30 virtual base::string16 GetTitle() OVERRIDE;
31 virtual views::View* GetContentsView() OVERRIDE;
33 SkColor color_;
34 SkColor contents_color_;
35 base::string16 title_;
36 views::View* contents_view_;
38 DISALLOW_COPY_AND_ASSIGN(SampleActivity);
41 } // namespace test
42 } // namespace athena
44 #endif // ATHENA_TEST_SAMPLE_ACTIVITY_H_