Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / athena / content / shell / shell_app_activity.cc
blob7e414e7ef59cdbb40d1d4ce7870b88b7f4ae74ce
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 #include "athena/content/shell/shell_app_activity.h"
7 #include "extensions/shell/browser/shell_app_window.h"
9 namespace athena {
11 ShellAppActivity::ShellAppActivity(extensions::ShellAppWindow* app_window,
12 const std::string& app_id)
13 : AppActivity(app_id), shell_app_window_(app_window) {
16 ShellAppActivity::~ShellAppActivity() {
19 content::WebContents* ShellAppActivity::GetWebContents() {
20 return shell_app_window_->GetAssociatedWebContents();
23 } // namespace athena