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

Unified Diff: ios/chrome/search_widget_extension/search_widget_view.h

Issue 2858253002: Adding search widget UI and functionality. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698