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

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

Issue 2814783003: Rename widget to search widget and use new bundleid to always build. (Closed)
Patch Set: seems I didn't actually delete widget_view_controller... 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
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
deleted file mode 100644
index 6b6bd57d044b2861dd173abcfadc6ef507b5f9c9..0000000000000000000000000000000000000000
--- a/ios/chrome/widget_extension/widget_view.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_CHROME_WIDGET_EXTENSION_WIDGET_VIEW_H_
-#define IOS_CHROME_WIDGET_EXTENSION_WIDGET_VIEW_H_
-
-#import <UIKit/UIKit.h>
-
-// Protocol to be implemented by targets for user actions coming from the widget
-// view.
-@protocol WidgetViewActionTarget
-
-// 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
-
-// View for the widget. Shows a blinking cursor for a fake omnibox and calls the
-// target when tapped.
-@interface WidgetView : UIView
-
-// Designated initializer, creates the widget view with a |target| for user
-// actions.
-- (instancetype)initWithActionTarget:(id<WidgetViewActionTarget>)target
- NS_DESIGNATED_INITIALIZER;
-- (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_

Powered by Google App Engine
This is Rietveld 408576698