blob: 527b883ab7f4d46f60cee33764177da457e0261d [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/shell/browser/shell_extensions_api_client.h"
#include "extensions/shell/browser/shell_app_view_guest_delegate.h"
#include "extensions/shell/browser/shell_extension_web_contents_observer.h"
namespace extensions {
ShellExtensionsAPIClient::ShellExtensionsAPIClient() {
}
void ShellExtensionsAPIClient::AttachWebContentsHelpers(
content::WebContents* web_contents) const {
ShellExtensionWebContentsObserver::CreateForWebContents(web_contents);
}
AppViewGuestDelegate* ShellExtensionsAPIClient::CreateAppViewGuestDelegate()
const {
return new ShellAppViewGuestDelegate();
}
} // namespace extensions