| OLD | NEW |
| (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_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 | |
| 11 namespace athena { | |
| 12 | |
| 13 class AthenaShellAppWindowClient : public AthenaAppWindowClientBase { | |
| 14 public: | |
| 15 AthenaShellAppWindowClient(); | |
| 16 ~AthenaShellAppWindowClient() override; | |
| 17 | |
| 18 private: | |
| 19 // extensions::AppWindowClient | |
| 20 extensions::AppWindow* CreateAppWindow( | |
| 21 content::BrowserContext* context, | |
| 22 const extensions::Extension* extension) override; | |
| 23 void OpenDevToolsWindow(content::WebContents* web_contents, | |
| 24 const base::Closure& callback) override; | |
| 25 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_ | |
| OLD | NEW |