| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |