summaryrefslogtreecommitdiffstats
path: root/athena/content/shell/content_activity_factory.cc
blob: d87c81e79c579294a4b93bb622d027086ad9135a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "athena/content/content_activity_factory.h"

#include "athena/content/shell/shell_app_activity.h"

namespace athena {

Activity* ContentActivityFactory::CreateAppActivity(
    extensions::ShellAppWindow* app_window,
    const std::string& app_id) {
  return new ShellAppActivity(app_window, app_id);
}

Activity* ContentActivityFactory::CreateAppActivity(
    extensions::AppWindow* app_window,
    views::WebView* web_view) {
  return NULL;
}

}  // namespace athena