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

Unified Diff: athena/content/shell/shell_app_activity.cc

Issue 505273002: Move app_shell specific impl from athena_lib to athena_shell_lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/content/shell/shell_app_activity.h ('k') | athena/main/athena_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/shell/shell_app_activity.cc
diff --git a/athena/content/shell/shell_app_activity.cc b/athena/content/shell/shell_app_activity.cc
new file mode 100644
index 0000000000000000000000000000000000000000..77824f249219bab5d0914389f97a732b523e6e57
--- /dev/null
+++ b/athena/content/shell/shell_app_activity.cc
@@ -0,0 +1,21 @@
+// 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)
+ : shell_app_window_(app_window) {
+}
+
+ShellAppActivity::~ShellAppActivity() {}
+
+content::WebContents* ShellAppActivity::GetWebContents() {
+ return shell_app_window_->GetAssociatedWebContents();
+}
+
+} // namespace athena
« no previous file with comments | « athena/content/shell/shell_app_activity.h ('k') | athena/main/athena_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698