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

Side by Side Diff: athena/main/athena_app_window_controller.h

Issue 480353006: Separate athena's startup process from AppShell's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_
6 #define ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_
7
8 #include "base/macros.h"
9 #include "extensions/shell/browser/shell_app_window_controller.h"
10
11 namespace athena {
12
13 // The shell app window controller for athena. It embeds the web_contents of
14 // an app window into an Athena activity.
15 class AthenaAppWindowController : public extensions::ShellAppWindowController {
16 public:
17 AthenaAppWindowController();
18 virtual ~AthenaAppWindowController();
19
20 // Overridden from extensions::ShellAppWindowController:
21 virtual extensions::ShellAppWindow* CreateAppWindow(
22 content::BrowserContext* context) OVERRIDE;
23 virtual void CloseAppWindows() OVERRIDE;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(AthenaAppWindowController);
27 };
28
29 } // namespace athena
30
31 #endif // ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698