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

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

Issue 583583008: Rename AppsClient -> AppWindowClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac & test 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_SHELL_ATHENA_SHELL_APPS_CLIENT_H_ 5 #ifndef ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
6 #define ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APPS_CLIENT_H_ 6 #define ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
7 7
8 #include "athena/extensions/athena_apps_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 AthenaShellAppsClient : public AthenaAppsClientBase { 13 class AthenaShellAppWindowClient : public AthenaAppWindowClientBase {
14 public: 14 public:
15 AthenaShellAppsClient(content::BrowserContext* context); 15 AthenaShellAppWindowClient(content::BrowserContext* context);
16 virtual ~AthenaShellAppsClient(); 16 virtual ~AthenaShellAppWindowClient();
17 17
18 private: 18 private:
19 // extensions::AppsClient 19 // extensions::AppWindowClient
20 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts() 20 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
21 OVERRIDE; 21 OVERRIDE;
22 virtual extensions::AppWindow* CreateAppWindow( 22 virtual extensions::AppWindow* CreateAppWindow(
23 content::BrowserContext* context, 23 content::BrowserContext* context,
24 const extensions::Extension* extension) OVERRIDE; 24 const extensions::Extension* extension) OVERRIDE;
25 virtual void OpenDevToolsWindow(content::WebContents* web_contents, 25 virtual void OpenDevToolsWindow(content::WebContents* web_contents,
26 const base::Closure& callback) OVERRIDE; 26 const base::Closure& callback) OVERRIDE;
27 virtual bool IsCurrentChannelOlderThanDev() OVERRIDE; 27 virtual bool IsCurrentChannelOlderThanDev() OVERRIDE;
28 28
29 content::BrowserContext* context_; 29 content::BrowserContext* context_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(AthenaShellAppsClient); 31 DISALLOW_COPY_AND_ASSIGN(AthenaShellAppWindowClient);
32 }; 32 };
33 33
34 } // namespace athena 34 } // namespace athena
35 35
36 #endif // ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APPS_CLIENT_H_ 36 #endif // ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_APP_WINDOW_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698