| OLD | NEW |
| 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 #include "base/mac/scoped_nsobject.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 GURL src_url; | 31 GURL src_url; |
| 32 | 32 |
| 33 // The referrer policy to use when opening the link. | 33 // The referrer policy to use when opening the link. |
| 34 web::ReferrerPolicy referrer_policy; | 34 web::ReferrerPolicy referrer_policy; |
| 35 | 35 |
| 36 // The view in which to present the menu. | 36 // The view in which to present the menu. |
| 37 base::scoped_nsobject<UIView> view; | 37 base::scoped_nsobject<UIView> view; |
| 38 | 38 |
| 39 // The location in |view| to present the menu. | 39 // The location in |view| to present the menu. |
| 40 CGPoint location; | 40 CGPoint location; |
| 41 |
| 42 // The inner text of the link. |
| 43 base::scoped_nsobject<NSString> inner_text; |
| 41 }; | 44 }; |
| 42 | 45 |
| 43 } // namespace web | 46 } // namespace web |
| 44 | 47 |
| 45 #endif // IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_ | 48 #endif // IOS_WEB_PUBLIC_WEB_STATE_CONTEXT_MENU_PARAMS_H_ |
| OLD | NEW |