Don't add extra app list launcher page webviews.
[chromium-blink-merge.git] / extensions / shell / browser / shell_app_window_client.cc
blob8ad167073386540661e6eec64a2cf449072a70dc
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.
5 #include "extensions/shell/browser/shell_app_window_client.h"
7 #include <vector>
9 #include "extensions/browser/app_window/app_window.h"
10 #include "extensions/shell/browser/desktop_controller.h"
12 namespace extensions {
14 ShellAppWindowClient::ShellAppWindowClient() {
17 ShellAppWindowClient::~ShellAppWindowClient() {
20 AppWindow* ShellAppWindowClient::CreateAppWindow(
21 content::BrowserContext* context,
22 const Extension* extension) {
23 return DesktopController::instance()->CreateAppWindow(context, extension);
26 void ShellAppWindowClient::OpenDevToolsWindow(
27 content::WebContents* web_contents,
28 const base::Closure& callback) {
29 NOTIMPLEMENTED();
32 bool ShellAppWindowClient::IsCurrentChannelOlderThanDev() {
33 return false;
36 } // namespace extensions