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

Side by Side Diff: athena/activity/public/activity_view_model.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, 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « athena/activity/public/activity_view_manager.h ('k') | athena/athena.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef ATHENA_ACTIVITY_PUBLIC_ACTIVITY_VIEW_MODEL_H_
6 #define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_VIEW_MODEL_H_
7
8 #include <string>
9
10 #include "athena/athena_export.h"
11
12 typedef unsigned int SkColor;
13
14 namespace aura {
15 class Window;
16 }
17
18 namespace athena {
19
20 class ATHENA_EXPORT ActivityViewModel {
21 public:
22 virtual ~ActivityViewModel() {}
23
24 // Returns a color most representative of this activity.
25 virtual SkColor GetRepresentativeColor() = 0;
26
27 // Returns a title for the activity.
28 virtual std::string GetTitle() = 0;
29
30 // Returns the native window containing the activity.
31 virtual aura::Window* GetNativeWindow() = 0;
32 };
33
34 } // namespace athena
35
36 #endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_VIEW_MODEL_H_
OLDNEW
« no previous file with comments | « athena/activity/public/activity_view_manager.h ('k') | athena/athena.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698