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

Unified Diff: athena/main/sample_activity.h

Issue 316323002: Introduces ActivityFactory for SampleActivity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: athena/main/sample_activity.h
diff --git a/athena/main/sample_activity.h b/athena/main/sample_activity.h
deleted file mode 100644
index bbd8b585a6d5aa5154c68defcbc0e8852bc038a2..0000000000000000000000000000000000000000
--- a/athena/main/sample_activity.h
+++ /dev/null
@@ -1,35 +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_MAIN_SAMPLE_ACTIVITY_H_
-#define ATHENA_MAIN_SAMPLE_ACTIVITY_H_
-
-#include "athena/activity/public/activity.h"
-#include "athena/activity/public/activity_view_model.h"
-#include "base/memory/scoped_ptr.h"
-
-class SampleActivity : public athena::Activity,
- public athena::ActivityViewModel {
- public:
- SampleActivity(SkColor color, SkColor content, const std::string& title);
- virtual ~SampleActivity();
-
- private:
- // athena::Activity:
- virtual athena::ActivityViewModel* GetActivityViewModel() OVERRIDE;
-
- // athena::ActivityViewModel:
- virtual SkColor GetRepresentativeColor() OVERRIDE;
- virtual std::string GetTitle() OVERRIDE;
- virtual aura::Window* GetNativeWindow() OVERRIDE;
-
- SkColor color_;
- SkColor content_color_;
- std::string title_;
- scoped_ptr<aura::Window> window_;
-
- DISALLOW_COPY_AND_ASSIGN(SampleActivity);
-};
-
-#endif // ATHENA_MAIN_SAMPLE_ACTIVITY_H_

Powered by Google App Engine
This is Rietveld 408576698