| Index: athena/extensions/chrome/athena_apps_client.h
|
| diff --git a/athena/extensions/chrome/athena_apps_client.h b/athena/extensions/chrome/athena_apps_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0b860170fc292525096cfe78dc6761a02ff63df2
|
| --- /dev/null
|
| +++ b/athena/extensions/chrome/athena_apps_client.h
|
| @@ -0,0 +1,40 @@
|
| +// 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_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
|
| +#define ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
|
| +
|
| +#include "apps/ui/apps_client.h"
|
| +#include "base/macros.h"
|
| +
|
| +namespace athena {
|
| +
|
| +// The implementation of AppsClient for Athena.
|
| +class AthenaAppsClient : public apps::AppsClient {
|
| + public:
|
| + AthenaAppsClient();
|
| + virtual ~AthenaAppsClient();
|
| +
|
| + private:
|
| + // apps::AppsClient
|
| + virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
|
| + OVERRIDE;
|
| + virtual apps::AppWindow* CreateAppWindow(
|
| + content::BrowserContext* context,
|
| + const extensions::Extension* extension) OVERRIDE;
|
| + virtual extensions::NativeAppWindow* CreateNativeAppWindow(
|
| + apps::AppWindow* window,
|
| + const apps::AppWindow::CreateParams& params) OVERRIDE;
|
| + virtual void IncrementKeepAliveCount() OVERRIDE;
|
| + virtual void DecrementKeepAliveCount() OVERRIDE;
|
| + virtual void OpenDevToolsWindow(content::WebContents* web_contents,
|
| + const base::Closure& callback) OVERRIDE;
|
| + virtual bool IsCurrentChannelOlderThanDev() OVERRIDE;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AthenaAppsClient);
|
| +};
|
| +
|
| +} // namespace athena
|
| +
|
| +#endif // ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
|
|
|