OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_CHROME_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_
H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_CHROME_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_
H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "extensions/browser/guest_view/extensions_guest_view_manager_delegate.h
" | 9 #include "extensions/browser/guest_view/extensions_guest_view_manager_delegate.h
" |
10 | 10 |
11 namespace extensions { | 11 namespace extensions { |
12 | 12 |
13 // Defines a chrome-specific implementation of | 13 // Defines a chrome-specific implementation of |
14 // ExtensionsGuestViewManagerDelegate that knows about the concept of a task | 14 // ExtensionsGuestViewManagerDelegate that knows about the concept of a task |
15 // manager and the need for tagging the guest view WebContents by their | 15 // manager and the need for tagging the guest view WebContents by their |
16 // appropriate task manager tag. | 16 // appropriate task manager tag. |
17 class ChromeGuestViewManagerDelegate | 17 class ChromeExtensionsGuestViewManagerDelegate |
18 : public ExtensionsGuestViewManagerDelegate { | 18 : public ExtensionsGuestViewManagerDelegate { |
19 public: | 19 public: |
20 explicit ChromeGuestViewManagerDelegate(content::BrowserContext* context); | 20 explicit ChromeExtensionsGuestViewManagerDelegate( |
21 ~ChromeGuestViewManagerDelegate() override; | 21 content::BrowserContext* context); |
| 22 ~ChromeExtensionsGuestViewManagerDelegate() override; |
22 | 23 |
23 // GuestViewManagerDelegate: | 24 // // GuestViewManagerDelegate implementation. |
24 void OnGuestAdded(content::WebContents* guest_web_contents) const override; | 25 void OnGuestAdded(content::WebContents* guest_web_contents) const override; |
25 | 26 |
26 private: | 27 private: |
27 DISALLOW_COPY_AND_ASSIGN(ChromeGuestViewManagerDelegate); | 28 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsGuestViewManagerDelegate); |
28 }; | 29 }; |
29 | 30 |
30 } // namespace extensions | 31 } // namespace extensions |
31 | 32 |
32 #endif // CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_ | 33 #endif // CHROME_BROWSER_GUEST_VIEW_CHROME_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGA
TE_H_ |
OLD | NEW |