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 EXTENSIONS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ | |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ | |
7 | |
8 #include "base/basictypes.h" | |
James Cook
2014/09/05 16:26:42
nit: macros.h and compiler_specific.h, since you a
hashimoto
2014/09/05 17:37:17
Done.
| |
9 #include "extensions/browser/app_window/apps_client.h" | |
10 | |
11 namespace extensions { | |
12 | |
13 class ShellAppsClient : public AppsClient { | |
James Cook
2014/09/05 16:26:42
nit: brief class comment?
hashimoto
2014/09/05 17:37:17
Done.
| |
14 public: | |
15 ShellAppsClient(); | |
16 virtual ~ShellAppsClient(); | |
17 | |
18 // AppsClient overrides: | |
19 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts() | |
20 OVERRIDE; | |
21 virtual AppWindow* CreateAppWindow(content::BrowserContext* context, | |
22 const Extension* extension) OVERRIDE; | |
23 virtual NativeAppWindow* CreateNativeAppWindow( | |
24 AppWindow* window, | |
25 const AppWindow::CreateParams& params) OVERRIDE; | |
26 virtual void IncrementKeepAliveCount() OVERRIDE; | |
27 virtual void DecrementKeepAliveCount() OVERRIDE; | |
28 virtual void OpenDevToolsWindow(content::WebContents* web_contents, | |
29 const base::Closure& callback) OVERRIDE; | |
30 virtual bool IsCurrentChannelOlderThanDev() OVERRIDE; | |
James Cook
2014/09/05 16:26:43
Not for this CL, but this seems like an odd method
hashimoto
2014/09/05 17:37:17
Makes sense.
Filed crbug.com/411352
| |
31 | |
32 private: | |
33 DISALLOW_COPY_AND_ASSIGN(ShellAppsClient); | |
34 }; | |
35 | |
36 } // namespace extensions | |
37 | |
38 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ | |
OLD | NEW |