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_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ | 5 #ifndef ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ |
6 #define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ | 6 #define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ |
7 | 7 |
8 #include "athena/common/athena_export.h" | 8 #include "athena/athena_export.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
11 namespace apps { | 11 namespace apps { |
12 class ShellAppWindow; | 12 class ShellAppWindow; |
13 } | 13 } |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class BrowserContext; | 16 class BrowserContext; |
17 } | 17 } |
18 | 18 |
(...skipping 18 matching lines...) Expand all Loading... |
37 const GURL& url) = 0; | 37 const GURL& url) = 0; |
38 | 38 |
39 // Create an activity of an app with |app_window|. The returned activity | 39 // Create an activity of an app with |app_window|. The returned activity |
40 // should own |app_window|. | 40 // should own |app_window|. |
41 virtual Activity* CreateAppActivity(apps::ShellAppWindow* app_window) = 0; | 41 virtual Activity* CreateAppActivity(apps::ShellAppWindow* app_window) = 0; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace athena | 44 } // namespace athena |
45 | 45 |
46 #endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ | 46 #endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ |
OLD | NEW |