summaryrefslogtreecommitdiffstats
path: root/athena/content/shell/shell_app_activity.cc
blob: 7e414e7ef59cdbb40d1d4ce7870b88b7f4ae74ce (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/shell/shell_app_activity.h"

#include "extensions/shell/browser/shell_app_window.h"

namespace athena {

ShellAppActivity::ShellAppActivity(extensions::ShellAppWindow* app_window,
                                   const std::string& app_id)
    : AppActivity(app_id), shell_app_window_(app_window) {
}

ShellAppActivity::~ShellAppActivity() {
}

content::WebContents* ShellAppActivity::GetWebContents() {
  return shell_app_window_->GetAssociatedWebContents();
}

}  // namespace athena