athena_shell_app_window_client.h revision 1320f92c476a1ad9d19dba2a48c72b75566198e9
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_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
6#define ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
7
8#include "athena/extensions/athena_app_window_client_base.h"
9#include "base/macros.h"
10
11namespace athena {
12
13class AthenaShellAppWindowClient : public AthenaAppWindowClientBase {
14 public:
15  AthenaShellAppWindowClient();
16  virtual ~AthenaShellAppWindowClient();
17
18 private:
19  // extensions::AppWindowClient
20  virtual extensions::AppWindow* CreateAppWindow(
21      content::BrowserContext* context,
22      const extensions::Extension* extension) OVERRIDE;
23  virtual void OpenDevToolsWindow(content::WebContents* web_contents,
24                                  const base::Closure& callback) OVERRIDE;
25  virtual bool IsCurrentChannelOlderThanDev() OVERRIDE;
26
27  DISALLOW_COPY_AND_ASSIGN(AthenaShellAppWindowClient);
28};
29
30}  // namespace athena
31
32#endif  // ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
33