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

Unified Diff: ui/base/ios/cru_context_menu_holder.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 | « ui/base/ios/cru_context_menu_controller_unittest.mm ('k') | ui/base/ios/cru_context_menu_holder.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ios/cru_context_menu_holder.h
diff --git a/ui/base/ios/cru_context_menu_holder.h b/ui/base/ios/cru_context_menu_holder.h
deleted file mode 100644
index 9ddc8b4f5f5cec36b4917732b71ce48f92d585ca..0000000000000000000000000000000000000000
--- a/ui/base/ios/cru_context_menu_holder.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_BASE_IOS_CRU_CONTEXT_MENU_HOLDER_H_
-#define UI_BASE_IOS_CRU_CONTEXT_MENU_HOLDER_H_
-
-#import <Foundation/Foundation.h>
-
-#include "base/ios/block_types.h"
-
-// This class simply stores the information necessary to build a menu:
-// a menu title, a list of item titles and associated actions (blocks).
-@interface CRUContextMenuHolder : NSObject
-
-// Designated initializer.
-- (instancetype)init;
-
-// Menu title; can be nil.
-@property(nonatomic, copy) NSString* menuTitle;
-
-// A list of menu item titles in the order they will appear in the menu.
-@property(nonatomic, readonly, copy) NSArray* itemTitles;
-
-// A number of menu items.
-@property(nonatomic, readonly) NSUInteger itemCount;
-
-// Adds an item at the end of the menu.
-- (void)appendItemWithTitle:(NSString*)title action:(ProceduralBlock)action;
-
-// Adds an item at the end of the menu. If |dismissImmediately| is YES,
-// then tapping this item will cause the context menu to be dismissed without
-// any animation.
-- (void)appendItemWithTitle:(NSString*)title
- action:(ProceduralBlock)action
- dismissImmediately:(BOOL)dismissImmediately;
-
-// Performs the action for the item at the given index.
-- (void)performActionAtIndex:(NSUInteger)index;
-
-// Returns YES if the action at |index| should cause the context menu to
-// dismiss without any animation.
-- (BOOL)shouldDismissImmediatelyOnClickedAtIndex:(NSUInteger)index;
-
-@end
-
-#endif // UI_BASE_IOS_CRU_CONTEXT_MENU_HOLDER_H_
« no previous file with comments | « ui/base/ios/cru_context_menu_controller_unittest.mm ('k') | ui/base/ios/cru_context_menu_holder.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698