OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | |
7 | |
8 namespace content { | |
9 class BrowserContext; | |
10 } | |
11 | |
12 namespace guestview { | |
13 class GuestViewManagerDelegate; | |
14 } // namespace guestview | |
15 | |
16 namespace extensions { | |
17 | |
18 class GuestViewManager; | |
19 | |
20 class GuestViewManagerFactory { | |
21 public: | |
22 virtual GuestViewManager* CreateGuestViewManager( | |
23 content::BrowserContext* context, | |
24 scoped_ptr<guestview::GuestViewManagerDelegate> delegate) = 0; | |
25 | |
26 protected: | |
27 virtual ~GuestViewManagerFactory() {} | |
28 }; | |
29 | |
30 } // namespace extensions | |
31 | |
32 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | |
33 | |
OLD | NEW |