Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest_delegate.h

Issue 1641563002: Remove linked_ptr usage in //base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase, really Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/guest_view/web_view/web_view_guest_delegate.h
diff --git a/extensions/browser/guest_view/web_view/web_view_guest_delegate.h b/extensions/browser/guest_view/web_view/web_view_guest_delegate.h
index afee25935e2da120b42024de48a9920f8adc9adf..7ea61cad14f291f1b2c6402c39f3e0f23ff259d8 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest_delegate.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest_delegate.h
@@ -29,9 +29,6 @@ class WebViewGuestDelegate {
public :
virtual ~WebViewGuestDelegate() {}
- typedef std::vector<linked_ptr<api::web_view_internal::ContextMenuItem> >
- MenuItemVector;
-
// Called when context menu operation was handled.
virtual bool HandleContextMenu(const content::ContextMenuParams& params) = 0;
@@ -39,12 +36,7 @@ class WebViewGuestDelegate {
virtual void OnDidInitialize() = 0;
// Shows the context menu for the guest.
- // |items| acts as a filter. This restricts the current context's default
- // menu items to contain only the items from |items|.
- // |items| == NULL means no filtering will be applied.
- virtual void OnShowContextMenu(
- int request_id,
- const MenuItemVector* items) = 0;
+ virtual void OnShowContextMenu(int request_id) = 0;
// Returns true if the WebViewGuest should handle find requests for its
// embedder.

Powered by Google App Engine
This is Rietveld 408576698