| Index: athena/extensions/shell/athena_shell_app_window_client.cc
|
| diff --git a/athena/extensions/shell/athena_shell_apps_client.cc b/athena/extensions/shell/athena_shell_app_window_client.cc
|
| similarity index 63%
|
| rename from athena/extensions/shell/athena_shell_apps_client.cc
|
| rename to athena/extensions/shell/athena_shell_app_window_client.cc
|
| index cedc002a0d1965b14c2e56c088453c947169492c..b2ac9cea9dda183bd133372752d16469f4692379 100644
|
| --- a/athena/extensions/shell/athena_shell_apps_client.cc
|
| +++ b/athena/extensions/shell/athena_shell_app_window_client.cc
|
| @@ -2,41 +2,42 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "athena/extensions/shell/athena_shell_apps_client.h"
|
| +#include "athena/extensions/shell/athena_shell_app_window_client.h"
|
|
|
| #include "athena/extensions/shell/athena_shell_app_delegate.h"
|
| #include "extensions/browser/app_window/app_window.h"
|
|
|
| namespace athena {
|
|
|
| -AthenaShellAppsClient::AthenaShellAppsClient(content::BrowserContext* context)
|
| +AthenaShellAppWindowClient::AthenaShellAppWindowClient(
|
| + content::BrowserContext* context)
|
| : context_(context) {
|
| DCHECK(context_);
|
| }
|
|
|
| -AthenaShellAppsClient::~AthenaShellAppsClient() {
|
| +AthenaShellAppWindowClient::~AthenaShellAppWindowClient() {
|
| }
|
|
|
| std::vector<content::BrowserContext*>
|
| -AthenaShellAppsClient::GetLoadedBrowserContexts() {
|
| +AthenaShellAppWindowClient::GetLoadedBrowserContexts() {
|
| std::vector<content::BrowserContext*> contexts(1, context_);
|
| return contexts;
|
| }
|
|
|
| -extensions::AppWindow* AthenaShellAppsClient::CreateAppWindow(
|
| +extensions::AppWindow* AthenaShellAppWindowClient::CreateAppWindow(
|
| content::BrowserContext* context,
|
| const extensions::Extension* extension) {
|
| return new extensions::AppWindow(
|
| context, new AthenaShellAppDelegate, extension);
|
| }
|
|
|
| -void AthenaShellAppsClient::OpenDevToolsWindow(
|
| +void AthenaShellAppWindowClient::OpenDevToolsWindow(
|
| content::WebContents* web_contents,
|
| const base::Closure& callback) {
|
| // TODO(oshima): Figure out what to do.
|
| }
|
|
|
| -bool AthenaShellAppsClient::IsCurrentChannelOlderThanDev() {
|
| +bool AthenaShellAppWindowClient::IsCurrentChannelOlderThanDev() {
|
| return false;
|
| }
|
|
|
|
|