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

Unified Diff: ios/web/web_state/ui/crw_context_menu_provider.h

Issue 1885043012: Remove ui/base/ios (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@context_menu_copy
Patch Set: Remove CRWContextMenuProvider Created 4 years, 8 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
« no previous file with comments | « no previous file | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_context_menu_provider.h
diff --git a/ios/web/web_state/ui/crw_context_menu_provider.h b/ios/web/web_state/ui/crw_context_menu_provider.h
index cf3b80f2a91c6b5daf4059f0130f8af8723acb9d..58701899a7c8c66a8d35ea5d20b0d49f8773a6b3 100644
--- a/ios/web/web_state/ui/crw_context_menu_provider.h
+++ b/ios/web/web_state/ui/crw_context_menu_provider.h
@@ -6,23 +6,6 @@
#import <Foundation/Foundation.h>
-@class CRUContextMenuHolder;
-
-// A protocol implemented by a provider of labels and actions for a context
-// menu.
-@protocol CRWContextMenuProvider<NSObject>
-
-// Returns a CRUContextMenuHolder with the titles and actions associated with
-// each menu item. The "Cancel" item is automatically added when constructing
-// the menu for presentation, therefore it should not be added to the list.
-// Each CRWContextMenuProvider might have different requirements for the
-// |contextDictionary|. On a web page |kContextLinkURLString| and
-// |kContextImageURLString| might both be set whereas on a recently visited
-// entry some other identifier will be passed on.
-- (CRUContextMenuHolder*)contextMenuForDictionary:(NSDictionary*)context;
-
-@end
-
namespace web {
// Keys for the contextDictionary.
« no previous file with comments | « no previous file | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698