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

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

Issue 514293003: Run athena on chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 "apps/ui/apps_client.h"
9 #include "base/macros.h"
10
11 namespace athena {
12
13 // The implementation of AppsClient for Athena.
14 class AthenaAppsClient : public apps::AppsClient {
15 public:
16 AthenaAppsClient();
17 virtual ~AthenaAppsClient();
18
19 private:
20 // apps::AppsClient
21 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
22 OVERRIDE;
23 virtual apps::AppWindow* CreateAppWindow(
24 content::BrowserContext* context,
25 const extensions::Extension* extension) OVERRIDE;
26 virtual extensions::NativeAppWindow* CreateNativeAppWindow(
27 apps::AppWindow* window,
28 const apps::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

Powered by Google App Engine
This is Rietveld 408576698