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

Unified Diff: ios/chrome/widget_extension/widget_view.h

Issue 2809173002: Add support in widget to open search modes + copied link in app. (Closed)
Patch Set: remove unnecessary call Created 3 years, 8 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
« no previous file with comments | « ios/chrome/widget_extension/DEPS ('k') | ios/chrome/widget_extension/widget_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/widget_extension/widget_view.h
diff --git a/ios/chrome/widget_extension/widget_view.h b/ios/chrome/widget_extension/widget_view.h
index 9e2ff3857c47c8f53740fe8aba20225f592ca5f3..6b6bd57d044b2861dd173abcfadc6ef507b5f9c9 100644
--- a/ios/chrome/widget_extension/widget_view.h
+++ b/ios/chrome/widget_extension/widget_view.h
@@ -11,8 +11,16 @@
// view.
@protocol WidgetViewActionTarget
-// Called when the user taps the fake omnibox.
-- (void)openApp:(id)sender;
+// Called when the user taps the Search button.
+- (void)openSearch:(id)sender;
+// Called when the user taps the Incognito Search button.
+- (void)openIncognito:(id)sender;
+// Called when the user taps the Voice Search button.
+- (void)openVoice:(id)sender;
+// Called when the user taps the QR Code button.
+- (void)openQRCode:(id)sender;
+// Called when the user taps the Open Copied URL section.
+- (void)openCopiedURL:(id)sender;
@end
@@ -27,6 +35,9 @@
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
+// Updates the copied URL.
+- (void)updateCopiedURL:(NSString*)copiedURL;
+
@end
#endif // IOS_CHROME_WIDGET_EXTENSION_WIDGET_VIEW_H_
« no previous file with comments | « ios/chrome/widget_extension/DEPS ('k') | ios/chrome/widget_extension/widget_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698