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#include "athena/extensions/shell/athena_shell_app_window_client.h" 6 7#include "athena/extensions/shell/athena_shell_app_delegate.h" 8#include "extensions/browser/app_window/app_window.h" 9 10namespace athena { 11 12AthenaShellAppWindowClient::AthenaShellAppWindowClient() { 13} 14 15AthenaShellAppWindowClient::~AthenaShellAppWindowClient() { 16} 17 18extensions::AppWindow* AthenaShellAppWindowClient::CreateAppWindow( 19 content::BrowserContext* context, 20 const extensions::Extension* extension) { 21 return new extensions::AppWindow( 22 context, new AthenaShellAppDelegate, extension); 23} 24 25void AthenaShellAppWindowClient::OpenDevToolsWindow( 26 content::WebContents* web_contents, 27 const base::Closure& callback) { 28 // TODO(oshima): Figure out what to do. 29} 30 31bool AthenaShellAppWindowClient::IsCurrentChannelOlderThanDev() { 32 return false; 33} 34 35} // namespace athena 36