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

Side by Side Diff: athena/content/app_activity_proxy.h

Issue 550643002: [Athena] Hack to display favicons for web activities in overview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « athena/content/app_activity.cc ('k') | athena/content/app_activity_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ATHENA_CONTENT_APP_ACTIVITY_PROXY_H_ 5 #ifndef ATHENA_CONTENT_APP_ACTIVITY_PROXY_H_
6 #define ATHENA_CONTENT_APP_ACTIVITY_PROXY_H_ 6 #define ATHENA_CONTENT_APP_ACTIVITY_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "athena/activity/public/activity.h" 10 #include "athena/activity/public/activity.h"
(...skipping 23 matching lines...) Expand all
34 virtual void SetCurrentState(ActivityState state) OVERRIDE; 34 virtual void SetCurrentState(ActivityState state) OVERRIDE;
35 virtual ActivityState GetCurrentState() OVERRIDE; 35 virtual ActivityState GetCurrentState() OVERRIDE;
36 virtual bool IsVisible() OVERRIDE; 36 virtual bool IsVisible() OVERRIDE;
37 virtual ActivityMediaState GetMediaState() OVERRIDE; 37 virtual ActivityMediaState GetMediaState() OVERRIDE;
38 virtual aura::Window* GetWindow() OVERRIDE; 38 virtual aura::Window* GetWindow() OVERRIDE;
39 39
40 // ActivityViewModel overrides: 40 // ActivityViewModel overrides:
41 virtual void Init() OVERRIDE; 41 virtual void Init() OVERRIDE;
42 virtual SkColor GetRepresentativeColor() const OVERRIDE; 42 virtual SkColor GetRepresentativeColor() const OVERRIDE;
43 virtual base::string16 GetTitle() const OVERRIDE; 43 virtual base::string16 GetTitle() const OVERRIDE;
44 virtual gfx::ImageSkia GetIcon() const OVERRIDE;
44 virtual bool UsesFrame() const OVERRIDE; 45 virtual bool UsesFrame() const OVERRIDE;
45 virtual views::View* GetContentsView() OVERRIDE; 46 virtual views::View* GetContentsView() OVERRIDE;
46 virtual views::Widget* CreateWidget() OVERRIDE; 47 virtual views::Widget* CreateWidget() OVERRIDE;
47 virtual void CreateOverviewModeImage() OVERRIDE; 48 virtual void CreateOverviewModeImage() OVERRIDE;
48 virtual gfx::ImageSkia GetOverviewModeImage() OVERRIDE; 49 virtual gfx::ImageSkia GetOverviewModeImage() OVERRIDE;
49 virtual void PrepareContentsForOverview() OVERRIDE; 50 virtual void PrepareContentsForOverview() OVERRIDE;
50 virtual void ResetContentsView() OVERRIDE; 51 virtual void ResetContentsView() OVERRIDE;
51 52
52 private: 53 private:
53 // The creator of this object which needs to be informed if the object gets 54 // The creator of this object which needs to be informed if the object gets
(...skipping 12 matching lines...) Expand all
66 67
67 // The associated view. 68 // The associated view.
68 views::View* view_; 69 views::View* view_;
69 70
70 DISALLOW_COPY_AND_ASSIGN(AppActivityProxy); 71 DISALLOW_COPY_AND_ASSIGN(AppActivityProxy);
71 }; 72 };
72 73
73 } // namespace athena 74 } // namespace athena
74 75
75 #endif // ATHENA_CONTENT_APP_ACTIVITY_PROXY_H_ 76 #endif // ATHENA_CONTENT_APP_ACTIVITY_PROXY_H_
OLDNEW
« no previous file with comments | « athena/content/app_activity.cc ('k') | athena/content/app_activity_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698