| 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_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ |
| 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "extensions/browser/guest_view/guest_view_base.h" | 8 #include "extensions/browser/guest_view/guest_view_base.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 class RenderViewHost; | 11 class RenderViewHost; |
| 12 class WebContents; | 12 class WebContents; |
| 13 } | 13 } // namespace content |
| 14 | 14 |
| 15 namespace extensions { | 15 namespace extensions { |
| 16 | 16 |
| 17 class WebViewGuest; | 17 class WebViewGuest; |
| 18 | 18 |
| 19 namespace api { | 19 namespace api { |
| 20 namespace web_view_internal{ | 20 namespace web_view_internal { |
| 21 | 21 |
| 22 struct ContextMenuItem; | 22 struct ContextMenuItem; |
| 23 | 23 |
| 24 } // namespace web_view_internal | 24 } // namespace web_view_internal |
| 25 } // namespace api | 25 } // namespace api |
| 26 | 26 |
| 27 // A delegate class of WebViewGuest that are not a part of chrome. | 27 // A delegate class of WebViewGuest that are not a part of chrome. |
| 28 class WebViewGuestDelegate { | 28 class WebViewGuestDelegate { |
| 29 public : | 29 public : |
| 30 explicit WebViewGuestDelegate(WebViewGuest* web_view_guest); | 30 explicit WebViewGuestDelegate(WebViewGuest* web_view_guest); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 WebViewGuest* const web_view_guest_; | 74 WebViewGuest* const web_view_guest_; |
| 75 | 75 |
| 76 DISALLOW_COPY_AND_ASSIGN(WebViewGuestDelegate); | 76 DISALLOW_COPY_AND_ASSIGN(WebViewGuestDelegate); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace extensions | 79 } // namespace extensions |
| 80 | 80 |
| 81 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ | 81 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ |
| OLD | NEW |