// 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_TEST_SAMPLE_ACTIVITY_H_
#define ATHENA_TEST_SAMPLE_ACTIVITY_H_
#include "athena/activity/public/activity.h"
#include "athena/activity/public/activity_view_model.h"
#include "base/memory/scoped_ptr.h"
namespace athena {
namespace test {
class SampleActivity : public Activity,
public ActivityViewModel {
public:
SampleActivity(SkColor color,
SkColor contents_color,
const base::string16& title);
virtual ~SampleActivity();
private:
// athena::Activity:
virtual athena::ActivityViewModel* GetActivityViewModel() OVERRIDE;
// athena::ActivityViewModel:
virtual void Init() OVERRIDE;
virtual SkColor GetRepresentativeColor() OVERRIDE;
virtual base::string16 GetTitle() OVERRIDE;
virtual views::View* GetContentsView() OVERRIDE;
SkColor color_;
SkColor contents_color_;
base::string16 title_;
views::View* contents_view_;
DISALLOW_COPY_AND_ASSIGN(SampleActivity);
};
} // namespace test
} // namespace athena
#endif // ATHENA_TEST_SAMPLE_ACTIVITY_H_