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

Side by Side Diff: athena/extensions/shell/athena_shell_app_window_client.h

Issue 586613002: Remove AppsClient::GetLoadedBrowserContexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to chrome/browser/apps Created 6 years, 2 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_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_ 5 #ifndef ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
6 #define ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_ 6 #define ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
7 7
8 #include "athena/extensions/athena_app_window_client_base.h" 8 #include "athena/extensions/athena_app_window_client_base.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 namespace athena { 11 namespace athena {
12 12
13 class AthenaShellAppWindowClient : public AthenaAppWindowClientBase { 13 class AthenaShellAppWindowClient : public AthenaAppWindowClientBase {
14 public: 14 public:
15 AthenaShellAppWindowClient(content::BrowserContext* context); 15 AthenaShellAppWindowClient();
16 virtual ~AthenaShellAppWindowClient(); 16 virtual ~AthenaShellAppWindowClient();
17 17
18 private: 18 private:
19 // extensions::AppWindowClient 19 // extensions::AppWindowClient
20 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
21 OVERRIDE;
22 virtual extensions::AppWindow* CreateAppWindow( 20 virtual extensions::AppWindow* CreateAppWindow(
23 content::BrowserContext* context, 21 content::BrowserContext* context,
24 const extensions::Extension* extension) OVERRIDE; 22 const extensions::Extension* extension) OVERRIDE;
25 virtual void OpenDevToolsWindow(content::WebContents* web_contents, 23 virtual void OpenDevToolsWindow(content::WebContents* web_contents,
26 const base::Closure& callback) OVERRIDE; 24 const base::Closure& callback) OVERRIDE;
27 virtual bool IsCurrentChannelOlderThanDev() OVERRIDE; 25 virtual bool IsCurrentChannelOlderThanDev() OVERRIDE;
28 26
29 content::BrowserContext* context_;
30
31 DISALLOW_COPY_AND_ASSIGN(AthenaShellAppWindowClient); 27 DISALLOW_COPY_AND_ASSIGN(AthenaShellAppWindowClient);
32 }; 28 };
33 29
34 } // namespace athena 30 } // namespace athena
35 31
36 #endif // ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_ 32 #endif // ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698