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 #ifndef CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_
8 #include "extensions/browser/guest_view/extensions_guest_view_manager_delegate.h"
10 namespace extensions
{
12 // Defines a chrome-specific implementation of
13 // ExtensionsGuestViewManagerDelegate that knows about the concept of a task
14 // manager and the need for tagging the guest view WebContents by their
15 // appropriate task manager tag.
16 class ChromeGuestViewManagerDelegate
17 : public ExtensionsGuestViewManagerDelegate
{
19 explicit ChromeGuestViewManagerDelegate(content::BrowserContext
* context
);
20 ~ChromeGuestViewManagerDelegate() override
;
22 // GuestViewManagerDelegate:
23 void AttachTaskManagerGuestTag(
24 content::WebContents
* guest_web_contents
) const override
;
27 DISALLOW_COPY_AND_ASSIGN(ChromeGuestViewManagerDelegate
);
30 } // namespace extensions
32 #endif // CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_