1 // Copyright 2015 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 "chrome/browser/guest_view/extension_view/chrome_extension_view_guest_delegate.h"
7 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
8 #include "extensions/browser/guest_view/extension_view/extension_view_guest.h"
10 namespace extensions
{
12 ChromeExtensionViewGuestDelegate::ChromeExtensionViewGuestDelegate(
13 ExtensionViewGuest
* guest
)
14 : ExtensionViewGuestDelegate(guest
) {
17 ChromeExtensionViewGuestDelegate::~ChromeExtensionViewGuestDelegate() {
20 void ChromeExtensionViewGuestDelegate::DidInitialize() {
21 ChromeExtensionWebContentsObserver::CreateForWebContents(
22 extension_view_guest()->web_contents());
25 } // namespace extensions