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

Side by Side Diff: athena/extensions/chrome/athena_apps_client.h

Issue 563083003: V2 app support step3: Athena's NativeAppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
6 #define ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
7
8 #include "extensions/browser/app_window/apps_client.h"
9 #include "base/macros.h"
10
11 namespace athena {
12
13 // The implementation of AppsClient for Athena.
14 class AthenaAppsClient : public extensions::AppsClient {
15 public:
16 AthenaAppsClient();
17 virtual ~AthenaAppsClient();
18
19 private:
20 // extensions::AppsClient
21 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
22 OVERRIDE;
23 virtual extensions::AppWindow* CreateAppWindow(
24 content::BrowserContext* context,
25 const extensions::Extension* extension) OVERRIDE;
26 virtual extensions::NativeAppWindow* CreateNativeAppWindow(
27 extensions::AppWindow* window,
28 const extensions::AppWindow::CreateParams& params) OVERRIDE;
29 virtual void IncrementKeepAliveCount() OVERRIDE;
30 virtual void DecrementKeepAliveCount() OVERRIDE;
31 virtual void OpenDevToolsWindow(content::WebContents* web_contents,
32 const base::Closure& callback) OVERRIDE;
33 virtual bool IsCurrentChannelOlderThanDev() OVERRIDE;
34
35 DISALLOW_COPY_AND_ASSIGN(AthenaAppsClient);
36 };
37
38 } // namespace athena
39
40 #endif // ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
OLDNEW
« no previous file with comments | « athena/extensions/chrome/athena_app_delegate.cc ('k') | athena/extensions/chrome/athena_apps_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698