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

Side by Side Diff: ios/web/web_state/context_menu_params_utils.h

Issue 2640433002: Clean the new CRWContextMenuController (Closed)
Patch Set: feedback Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/web_state/context_menu_params_utils.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_WEB_STATE_CONTEXT_MENU_PARAMS_UTILS_H_
6 #define IOS_WEB_WEB_STATE_CONTEXT_MENU_PARAMS_UTILS_H_
7
8 #import <UIKit/UIKit.h>
9
10 #import "ios/web/public/web_state/context_menu_params.h"
11
12 namespace web {
13 // creates a ContextMenuParams from a NSDictionary representing an HTML element.
14 // The fields "href", "src", "title", "referrerPolicy" and "innerText" will
15 // be used (if present) to generate the ContextMenuParams.
16 // All these fields must be NSString*.
17 // This constructor does not set fields relative to the touch event (view and
18 // location).
19 ContextMenuParams ContextMenuParamsFromElementDictionary(NSDictionary* element);
20 } // namespace web
21
22 #endif // IOS_WEB_WEB_STATE_CONTEXT_MENU_PARAMS_UTILS_H_
OLDNEW
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/web_state/context_menu_params_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698