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

Unified Diff: athena/test/base/sample_activity.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/test/base/athena_unittests.cc ('k') | athena/test/base/sample_activity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/sample_activity.h
diff --git a/athena/test/base/sample_activity.h b/athena/test/base/sample_activity.h
deleted file mode 100644
index d13e96e3e2203c5efe8f5282ce6ac8d3238b5e60..0000000000000000000000000000000000000000
--- a/athena/test/base/sample_activity.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// 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_BASE_SAMPLE_ACTIVITY_H_
-#define ATHENA_TEST_BASE_SAMPLE_ACTIVITY_H_
-
-#include "athena/activity/public/activity.h"
-#include "athena/activity/public/activity_view_model.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace gfx {
-class ImageSkia;
-}
-
-namespace athena {
-class AcceleratorManager;
-
-namespace test {
-
-class SampleActivity : public Activity,
- public ActivityViewModel {
- public:
- SampleActivity(SkColor color,
- SkColor contents_color,
- const base::string16& title);
- ~SampleActivity() override;
-
- // athena::Activity:
- athena::ActivityViewModel* GetActivityViewModel() override;
- void SetCurrentState(Activity::ActivityState state) override;
- ActivityState GetCurrentState() override;
- bool IsVisible() override;
- ActivityMediaState GetMediaState() override;
- aura::Window* GetWindow() override;
- content::WebContents* GetWebContents() override;
-
- // athena::ActivityViewModel:
- void Init() override;
- SkColor GetRepresentativeColor() const override;
- base::string16 GetTitle() const override;
- gfx::ImageSkia GetIcon() const override;
- void SetActivityView(ActivityView* activity_view) override;
- bool UsesFrame() const override;
- views::View* GetContentsView() override;
- gfx::ImageSkia GetOverviewModeImage() override;
- void PrepareContentsForOverview() override;
- void ResetContentsView() override;
-
- private:
- SkColor color_;
- SkColor contents_color_;
- base::string16 title_;
- views::View* contents_view_;
-
- // The current state for this activity.
- ActivityState current_state_;
-
- // This is to emulate real implementation.
- scoped_ptr<AcceleratorManager> accelerator_manager_;
-
- DISALLOW_COPY_AND_ASSIGN(SampleActivity);
-};
-
-} // namespace test
-} // namespace athena
-
-#endif // ATHENA_TEST_BASE_SAMPLE_ACTIVITY_H_
« no previous file with comments | « athena/test/base/athena_unittests.cc ('k') | athena/test/base/sample_activity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698