Index: athena/main/athena_app_window_controller.h |
diff --git a/athena/main/athena_app_window_controller.h b/athena/main/athena_app_window_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c6be95c9b7b1890166d3f4e6fac8b35d44e90490 |
--- /dev/null |
+++ b/athena/main/athena_app_window_controller.h |
@@ -0,0 +1,30 @@ |
+// 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. |
+ |
+#ifndef ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_ |
+#define ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_ |
+ |
+#include "apps/shell/browser/shell_app_window_controller.h" |
+#include "base/macros.h" |
+ |
+namespace athena { |
+ |
+// The shell app window controller for athena. |
James Cook
2014/06/16 16:12:31
nit: Could you describe briefly what this class is
Jun Mukai
2014/06/16 17:46:52
The web contents are embedded into an athena's act
|
+class AthenaAppWindowController : public apps::ShellAppWindowController { |
+ public: |
+ AthenaAppWindowController(); |
+ virtual ~AthenaAppWindowController(); |
+ |
+ // Overridden from apps::ShellAppWindowController: |
+ virtual apps::ShellAppWindow* CreateAppWindow( |
+ content::BrowserContext* context) OVERRIDE; |
+ virtual void CloseAppWindows() OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(AthenaAppWindowController); |
+}; |
+ |
+} // namespace athena |
+ |
+#endif // ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_ |