| 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 "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "extensions/browser/guest_view/guest_view_base.h" | 9 #include "components/guest_view/browser/guest_view_base.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 class RenderViewHost; | 12 class RenderViewHost; |
| 13 class WebContents; | 13 class WebContents; |
| 14 } // namespace content | 14 } // namespace content |
| 15 | 15 |
| 16 namespace extensions { | 16 namespace extensions { |
| 17 | 17 |
| 18 class WebViewGuest; | 18 class WebViewGuest; |
| 19 | 19 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // menu items to contain only the items from |items|. | 55 // menu items to contain only the items from |items|. |
| 56 // |items| == NULL means no filtering will be applied. | 56 // |items| == NULL means no filtering will be applied. |
| 57 virtual void OnShowContextMenu( | 57 virtual void OnShowContextMenu( |
| 58 int request_id, | 58 int request_id, |
| 59 const MenuItemVector* items) = 0; | 59 const MenuItemVector* items) = 0; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace extensions | 62 } // namespace extensions |
| 63 | 63 |
| 64 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ | 64 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ |
| OLD | NEW |