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

Side by Side Diff: athena/extensions/athena_apps_client_base.h

Issue 563083003: V2 app support step3: Athena's NativeAppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
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 ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_ 5 #ifndef ATHENA_EXTENSIONS_ATHENA_APPS_CLIENT_BASE_H_
6 #define ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_ 6 #define ATHENA_EXTENSIONS_ATHENA_APPS_CLIENT_BASE_H_
7 7
8 #include "extensions/browser/app_window/apps_client.h" 8 #include "extensions/browser/app_window/apps_client.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 namespace athena { 11 namespace athena {
12 12
13 // The implementation of AppsClient for Athena. 13 // Athena's base impl of AppsClient.
14 class AthenaAppsClient : public extensions::AppsClient { 14 class AthenaAppsClientBase : public extensions::AppsClient {
15 public: 15 public:
16 AthenaAppsClient(); 16 AthenaAppsClientBase();
17 virtual ~AthenaAppsClient(); 17 virtual ~AthenaAppsClientBase();
18 18
19 private: 19 private:
20 // extensions::AppsClient 20 // extensions::AppsClient
21 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
22 OVERRIDE;
23 virtual extensions::AppWindow* CreateAppWindow(
24 content::BrowserContext* context,
25 const extensions::Extension* extension) OVERRIDE;
26 virtual extensions::NativeAppWindow* CreateNativeAppWindow( 21 virtual extensions::NativeAppWindow* CreateNativeAppWindow(
27 extensions::AppWindow* window, 22 extensions::AppWindow* window,
28 const extensions::AppWindow::CreateParams& params) OVERRIDE; 23 const extensions::AppWindow::CreateParams& params) OVERRIDE;
29 virtual void IncrementKeepAliveCount() OVERRIDE; 24 virtual void IncrementKeepAliveCount() OVERRIDE;
30 virtual void DecrementKeepAliveCount() OVERRIDE; 25 virtual void DecrementKeepAliveCount() OVERRIDE;
31 virtual void OpenDevToolsWindow(content::WebContents* web_contents,
32 const base::Closure& callback) OVERRIDE;
33 virtual bool IsCurrentChannelOlderThanDev() OVERRIDE;
34 26
35 DISALLOW_COPY_AND_ASSIGN(AthenaAppsClient); 27 DISALLOW_COPY_AND_ASSIGN(AthenaAppsClientBase);
36 }; 28 };
37 29
38 } // namespace athena 30 } // namespace athena
39 31
40 #endif // ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_ 32 #endif // ATHENA_EXTENSIONS_ATHENA_APPS_CLIENT_BASE_H_
OLDNEW
« no previous file with comments | « athena/extensions/athena_app_delegate_base.cc ('k') | athena/extensions/athena_apps_client_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698