[Mac] Implement Ambient Light API
[chromium-blink-merge.git] / athena / content / content_activity_factory.h
blob17f707025c52c6cfacab198f37aa093da4804673
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
3 // found in the LICENSE file.
5 #ifndef ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_
6 #define ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_
8 #include "athena/activity/public/activity_factory.h"
9 #include "base/macros.h"
11 namespace athena {
13 class ContentActivityFactory : public ActivityFactory {
14 public:
15 ContentActivityFactory();
16 ~ContentActivityFactory() override;
18 // Overridden from ActivityFactory:
19 Activity* CreateWebActivity(content::BrowserContext* browser_context,
20 const base::string16& title,
21 const GURL& url) override;
22 Activity* CreateWebActivity(content::WebContents* contents) override;
23 Activity* CreateAppActivity(const std::string& app_id,
24 views::WebView* web_view) override;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ContentActivityFactory);
30 } // namespace athena
32 #endif // ATHENA_CONTENT_CONTENT_ACTIVITY_FACTORY_H_