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

Unified Diff: ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm

Issue 2767413003: Remove URL and Title from the CS contex menu. (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
index c350a4f1a3d9f964235c72fb9fa62e3d997d5fe8..69a72e087de15935d07e14083d0fae8b25ff43d6 100644
--- a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
+++ b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
@@ -125,11 +125,10 @@
- (void)displayContextMenuForArticle:(ContentSuggestionsArticleItem*)articleItem
atPoint:(CGPoint)touchLocation
atIndexPath:(NSIndexPath*)indexPath {
- NSString* urlString = base::SysUTF8ToNSString(articleItem.articleURL.spec());
self.alertCoordinator = [[ActionSheetCoordinator alloc]
initWithBaseViewController:self.navigationController
- title:articleItem.title
- message:urlString
+ title:nil
+ message:nil
rect:CGRectMake(touchLocation.x, touchLocation.y, 0,
0)
view:self.suggestionsViewController.collectionView];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698