Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: apps/shell/browser/shell_apps_client.h

Issue 171523005: BACKUP: NativeAppWindowView - before splitting CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « apps/apps_client.h ('k') | apps/shell/browser/shell_apps_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_
6 #define APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_
7
8 #include "apps/apps_client.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11
12 namespace content {
13 class BrowserContext;
14 }
15
16 namespace apps {
17
18 // The implementation of AppsClient for app_shell.
19 class ShellAppsClient : public AppsClient {
20 public:
21 // For app_shell only a single browser context is supported.
22 explicit ShellAppsClient(content::BrowserContext* browser_context);
23 virtual ~ShellAppsClient();
24
25 private:
26 // apps::AppsClient implementation:
27 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
28 OVERRIDE;
29 virtual bool CheckAppLaunch(content::BrowserContext* context,
30 const extensions::Extension* extension) OVERRIDE;
31 virtual AppWindow* CreateAppWindow(content::BrowserContext* context,
32 const extensions::Extension* extension)
33 OVERRIDE;
34 virtual void StartKeepAlive() OVERRIDE;
35 virtual void EndKeepAlive() OVERRIDE;
36
37 content::BrowserContext* browser_context_;
38
39 DISALLOW_COPY_AND_ASSIGN(ShellAppsClient);
40 };
41
42 } // namespace apps
43
44 #endif // APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_
OLDNEW
« no previous file with comments | « apps/apps_client.h ('k') | apps/shell/browser/shell_apps_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698