forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS]: Add new function to return elements to add to context_menu
New function to return the contextMenu title and the list of elements to add. Bug: 1336264 Change-Id: Id81a143dedd0861bd557500e349e06b2b15a1117 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721638 Reviewed-by: Rohit Rao <[email protected]> Commit-Queue: Elmehdi Rahmaoui <[email protected]> Reviewed-by: David Jean <[email protected]> Cr-Commit-Position: refs/heads/main@{#1018612}
- Loading branch information
Elmehdi Rahmaoui
authored and
Chromium LUCI CQ
committed
Jun 28, 2022
1 parent
497021c
commit 3bd8f05
Showing
5 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
ios/public/provider/chrome/browser/context_menu/context_menu_api.mm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright 2022 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/public/provider/chrome/browser/context_menu/context_menu_api.h" | ||
|
||
#if !defined(__has_feature) || !__has_feature(objc_arc) | ||
#error "This file requires ARC support." | ||
#endif | ||
|
||
@implementation ElementsToAddToContextMenu | ||
@end |