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

Side by Side Diff: ios/web/public/web_state/context_menu_params.h

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import 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/public/web_client.mm ('k') | ios/web/public/web_state/ui/crw_generic_content_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_ 4 #ifndef IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_
5 #define IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_ 5 #define IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_
6 6
7 #import <UIKit/UIKit.h> 7 #import <UIKit/UIKit.h>
8 8
9 #include "base/mac/scoped_nsobject.h" 9 #import "base/mac/scoped_nsobject.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "ios/web/public/referrer.h" 11 #include "ios/web/public/referrer.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace web { 14 namespace web {
15 15
16 // Wraps information needed to show a context menu. 16 // Wraps information needed to show a context menu.
17 struct ContextMenuParams { 17 struct ContextMenuParams {
18 public: 18 public:
19 ContextMenuParams(); 19 ContextMenuParams();
(...skipping 20 matching lines...) Expand all
40 CGPoint location; 40 CGPoint location;
41 41
42 // The text associated with the link. It is either nil or nonempty (it can not 42 // The text associated with the link. It is either nil or nonempty (it can not
43 // be empty). 43 // be empty).
44 base::scoped_nsobject<NSString> link_text; 44 base::scoped_nsobject<NSString> link_text;
45 }; 45 };
46 46
47 } // namespace web 47 } // namespace web
48 48
49 #endif // IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_ 49 #endif // IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_
OLDNEW
« no previous file with comments | « ios/web/public/web_client.mm ('k') | ios/web/public/web_state/ui/crw_generic_content_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698