| 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 blink { | 10 namespace blink { |
| 11 struct WebFindOptions; | 11 struct WebFindOptions; |
| 12 } // nanespace blink | 12 } // nanespace blink |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 class RenderViewHost; | 15 class RenderViewHost; |
| 16 class WebContents; | 16 class WebContents; |
| 17 } | 17 } // namespace content |
| 18 | 18 |
| 19 namespace extensions { | 19 namespace extensions { |
| 20 | 20 |
| 21 class WebViewGuest; | 21 class WebViewGuest; |
| 22 class WebViewInternalFindFunction; | 22 class WebViewInternalFindFunction; |
| 23 | 23 |
| 24 namespace api { | 24 namespace api { |
| 25 namespace web_view_internal{ | 25 namespace web_view_internal { |
| 26 |
| 26 struct ContextMenuItem; | 27 struct ContextMenuItem; |
| 27 } // namespace web_view_internal | 28 } // namespace web_view_internal |
| 28 } // namespace api | 29 } // namespace api |
| 29 | 30 |
| 30 // A delegate class of WebViewGuest that are not a part of chrome. | 31 // A delegate class of WebViewGuest that are not a part of chrome. |
| 31 class WebViewGuestDelegate { | 32 class WebViewGuestDelegate { |
| 32 public : | 33 public : |
| 33 explicit WebViewGuestDelegate(WebViewGuest* web_view_guest); | 34 explicit WebViewGuestDelegate(WebViewGuest* web_view_guest); |
| 34 virtual ~WebViewGuestDelegate(); | 35 virtual ~WebViewGuestDelegate(); |
| 35 | 36 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 96 |
| 96 private: | 97 private: |
| 97 WebViewGuest* const web_view_guest_; | 98 WebViewGuest* const web_view_guest_; |
| 98 | 99 |
| 99 DISALLOW_COPY_AND_ASSIGN(WebViewGuestDelegate); | 100 DISALLOW_COPY_AND_ASSIGN(WebViewGuestDelegate); |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } // namespace extensions | 103 } // namespace extensions |
| 103 | 104 |
| 104 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ | 105 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ |
| OLD | NEW |