OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APPS_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APPS_CLIENT_H_ |
6 #define CHROME_BROWSER_UI_APPS_CHROME_APPS_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_APPS_CHROME_APPS_CLIENT_H_ |
7 | 7 |
8 #include "apps/ui/apps_client.h" | 8 #include "apps/ui/apps_client.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 private: | 24 private: |
25 friend struct DefaultSingletonTraits<ChromeAppsClient>; | 25 friend struct DefaultSingletonTraits<ChromeAppsClient>; |
26 | 26 |
27 // apps::AppsClient | 27 // apps::AppsClient |
28 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts() | 28 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts() |
29 OVERRIDE; | 29 OVERRIDE; |
30 virtual apps::AppWindow* CreateAppWindow( | 30 virtual apps::AppWindow* CreateAppWindow( |
31 content::BrowserContext* context, | 31 content::BrowserContext* context, |
32 const extensions::Extension* extension) OVERRIDE; | 32 const extensions::Extension* extension) OVERRIDE; |
33 virtual apps::NativeAppWindow* CreateNativeAppWindow( | 33 virtual extensions::NativeAppWindow* CreateNativeAppWindow( |
34 apps::AppWindow* window, | 34 apps::AppWindow* window, |
35 const apps::AppWindow::CreateParams& params) OVERRIDE; | 35 const apps::AppWindow::CreateParams& params) OVERRIDE; |
36 virtual void IncrementKeepAliveCount() OVERRIDE; | 36 virtual void IncrementKeepAliveCount() OVERRIDE; |
37 virtual void DecrementKeepAliveCount() OVERRIDE; | 37 virtual void DecrementKeepAliveCount() OVERRIDE; |
38 | 38 |
39 // Implemented in platform specific code. | 39 // Implemented in platform specific code. |
40 static apps::NativeAppWindow* CreateNativeAppWindowImpl( | 40 static extensions::NativeAppWindow* CreateNativeAppWindowImpl( |
41 apps::AppWindow* window, | 41 apps::AppWindow* window, |
42 const apps::AppWindow::CreateParams& params); | 42 const apps::AppWindow::CreateParams& params); |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(ChromeAppsClient); | 44 DISALLOW_COPY_AND_ASSIGN(ChromeAppsClient); |
45 }; | 45 }; |
46 | 46 |
47 #endif // CHROME_BROWSER_UI_APPS_CHROME_APPS_CLIENT_H_ | 47 #endif // CHROME_BROWSER_UI_APPS_CHROME_APPS_CLIENT_H_ |
OLD | NEW |