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

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

Issue 702473005: athena: Remove ActivityViewModel::CreateWidget(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 27 matching lines...) Expand all
38 aura::Window* GetWindow() override; 38 aura::Window* GetWindow() override;
39 content::WebContents* GetWebContents() override; 39 content::WebContents* GetWebContents() override;
40 40
41 // ActivityViewModel overrides: 41 // ActivityViewModel overrides:
42 void Init() override; 42 void Init() override;
43 SkColor GetRepresentativeColor() const override; 43 SkColor GetRepresentativeColor() const override;
44 base::string16 GetTitle() const override; 44 base::string16 GetTitle() const override;
45 gfx::ImageSkia GetIcon() const override; 45 gfx::ImageSkia GetIcon() const override;
46 bool UsesFrame() const override; 46 bool UsesFrame() const override;
47 views::View* GetContentsView() override; 47 views::View* GetContentsView() override;
48 views::Widget* CreateWidget() override;
49 gfx::ImageSkia GetOverviewModeImage() override; 48 gfx::ImageSkia GetOverviewModeImage() override;
50 void PrepareContentsForOverview() override; 49 void PrepareContentsForOverview() override;
51 void ResetContentsView() override; 50 void ResetContentsView() override;
52 51
53 protected: 52 protected:
54 ~AppActivityProxy() override; 53 ~AppActivityProxy() override;
55 54
56 private: 55 private:
57 // The creator of this object which needs to be informed if the object gets 56 // The creator of this object which needs to be informed if the object gets
58 // destroyed or the application should get restarted. 57 // destroyed or the application should get restarted.
(...skipping 16 matching lines...) Expand all
75 74
76 // True if restart got already called. 75 // True if restart got already called.
77 bool restart_called_; 76 bool restart_called_;
78 77
79 DISALLOW_COPY_AND_ASSIGN(AppActivityProxy); 78 DISALLOW_COPY_AND_ASSIGN(AppActivityProxy);
80 }; 79 };
81 80
82 } // namespace athena 81 } // namespace athena
83 82
84 #endif // ATHENA_CONTENT_APP_ACTIVITY_PROXY_H_ 83 #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