| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ |
| 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 class BrowserContext; | 9 class BrowserContext; |
| 10 } | 10 } |
| 11 | 11 |
| 12 namespace guestview { |
| 13 class GuestViewManagerDelegate; |
| 14 } // namespace guestview |
| 15 |
| 12 namespace extensions { | 16 namespace extensions { |
| 13 | 17 |
| 14 class GuestViewManager; | 18 class GuestViewManager; |
| 15 | 19 |
| 16 class GuestViewManagerFactory { | 20 class GuestViewManagerFactory { |
| 17 public: | 21 public: |
| 18 virtual GuestViewManager* CreateGuestViewManager( | 22 virtual GuestViewManager* CreateGuestViewManager( |
| 19 content::BrowserContext* context) = 0; | 23 content::BrowserContext* context, |
| 24 scoped_ptr<guestview::GuestViewManagerDelegate> delegate) = 0; |
| 20 | 25 |
| 21 protected: | 26 protected: |
| 22 virtual ~GuestViewManagerFactory() {} | 27 virtual ~GuestViewManagerFactory() {} |
| 23 }; | 28 }; |
| 24 | 29 |
| 25 } // namespace extensions | 30 } // namespace extensions |
| 26 | 31 |
| 27 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | 32 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ |
| 28 | 33 |
| OLD | NEW |