Index: ios/chrome/search_widget_extension/search_widget_view.h |
diff --git a/ios/chrome/search_widget_extension/search_widget_view.h b/ios/chrome/search_widget_extension/search_widget_view.h |
index d9f145c603f642cb721743b96ca1aef623e16634..43959791fde0da8eb70b8733575dbd95ea1312f2 100644 |
--- a/ios/chrome/search_widget_extension/search_widget_view.h |
+++ b/ios/chrome/search_widget_extension/search_widget_view.h |
@@ -28,9 +28,15 @@ |
// calls the target when tapped. |
@interface SearchWidgetView : UIView |
+// Set this property to show/hide the copied URL section. |
+@property(nonatomic) BOOL copiedURLVisible; |
+ |
// Designated initializer, creates the widget view with a |target| for user |
-// actions. |
+// actions. View elements will be added to the |primaryVibrancyEffect| and |
+// |secondaryVibrancyEffect| views. |
- (instancetype)initWithActionTarget:(id<SearchWidgetViewActionTarget>)target |
+ primaryVibrancyEffect:(UIVibrancyEffect*)primaryVibrancyEffect |
+ secondaryVibrancyEffect:(UIVibrancyEffect*)secondaryVibrancyEffect |
NS_DESIGNATED_INITIALIZER; |
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; |
- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; |