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

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

Issue 494033002: Move AppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded include in chrome_shell_delegate.cc 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 | Annotate | Revision Log
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_CONTENT_ACTIVITY_FACTORY_H_ 5 #ifndef ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_
6 #define ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_ 6 #define ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_
7 7
8 #include "athena/activity/public/activity_factory.h" 8 #include "athena/activity/public/activity_factory.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 namespace athena { 11 namespace athena {
12 12
13 class ContentActivityFactory : public ActivityFactory { 13 class ContentActivityFactory : public ActivityFactory {
14 public: 14 public:
15 ContentActivityFactory(); 15 ContentActivityFactory();
16 virtual ~ContentActivityFactory(); 16 virtual ~ContentActivityFactory();
17 17
18 // Overridden from ActivityFactory: 18 // Overridden from ActivityFactory:
19 virtual Activity* CreateWebActivity(content::BrowserContext* browser_context, 19 virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
20 const GURL& url) OVERRIDE; 20 const GURL& url) OVERRIDE;
21 virtual Activity* CreateAppActivity(extensions::ShellAppWindow* app_window, 21 virtual Activity* CreateAppActivity(extensions::ShellAppWindow* app_window,
22 const std::string& app_id) OVERRIDE; 22 const std::string& app_id) OVERRIDE;
23 virtual Activity* CreateAppActivity(apps::AppWindow* app_window) OVERRIDE; 23 virtual Activity* CreateAppActivity(
24 extensions::AppWindow* app_window) OVERRIDE;
24 25
25 private: 26 private:
26 DISALLOW_COPY_AND_ASSIGN(ContentActivityFactory); 27 DISALLOW_COPY_AND_ASSIGN(ContentActivityFactory);
27 }; 28 };
28 29
29 } // namespace athena 30 } // namespace athena
30 31
31 #endif // ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_ 32 #endif // ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_
OLDNEW
« no previous file with comments | « athena/activity/public/activity_factory.h ('k') | athena/content/shell/content_activity_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698