OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_H_ | |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_H_ | |
7 | |
8 #include "extensions/browser/guest_view/guest_view_manager_delegate.h" | |
9 | |
10 namespace content { | |
11 class BrowserContext; | |
12 } // namespace content | |
13 | |
14 namespace extensions { | |
15 class GuestViewBase; | |
16 class GuestViewManager; | |
17 } // namespace extensions | |
18 | |
19 namespace extensions { | |
20 | |
21 class ExtensionsGuestViewManagerDelegate : | |
lazyboy
2015/04/22 15:16:29
Short description of this class.
lazyboy
2015/04/22 15:16:29
: goes next line
Fady Samuel
2015/04/22 23:09:48
Done.
Fady Samuel
2015/04/22 23:09:48
Done.
| |
22 public guestview::GuestViewManagerDelegate { | |
23 public: | |
24 explicit ExtensionsGuestViewManagerDelegate(content::BrowserContext* context); | |
25 ~ExtensionsGuestViewManagerDelegate() override; | |
26 | |
27 // GuestViewManagerDelegate implementation. | |
28 bool IsGuestAvailableToContext(extensions::GuestViewBase* guest) override; | |
29 bool IsOwnedByExtension(extensions::GuestViewBase* guest) override; | |
30 void RegisterAdditionalGuestViewTypes() override; | |
31 | |
32 private: | |
33 content::BrowserContext* const context_; | |
34 }; | |
35 | |
36 } // namespace extensions | |
37 | |
38 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_ H_ | |
OLD | NEW |