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

Unified Diff: ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.mm

Issue 2862783002: [iOS Clean] Wired up ContextMenuCommands. (Closed)
Patch Set: cleanup Created 3 years, 7 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: ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.mm
diff --git a/ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.mm b/ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.mm
deleted file mode 100644
index ac0147921ef96a58c4716a327a9a4403a32c3624..0000000000000000000000000000000000000000
--- a/ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.mm
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2017 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.
-
-#import "ios/clean/chrome/browser/ui/context_menu/context_menu_consumer.h"
-
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
-
-@interface ContextMenuItem ()
-@property(nonatomic, readwrite) NSString* title;
-@property(nonatomic, readwrite) NSInvocation* command;
-@end
-
-@implementation ContextMenuItem
-
-@synthesize title = _title;
-@synthesize command = _command;
-
-+ (instancetype)itemWithTitle:(NSString*)title command:(NSInvocation*)command {
- ContextMenuItem* item = [[self alloc] init];
- item.title = title;
- item.command = command;
- return item;
-}
-
-@end

Powered by Google App Engine
This is Rietveld 408576698