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

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

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/search_widget_extension/search_widget_view.mm
diff --git a/ios/chrome/widget_extension/widget_view.mm b/ios/chrome/search_widget_extension/search_widget_view.mm
similarity index 92%
rename from ios/chrome/widget_extension/widget_view.mm
rename to ios/chrome/search_widget_extension/search_widget_view.mm
index d078fe082c1be8c05196dad6c36c94f96af8e25c..42a7f8944092839ca1b6516dc943f9907ab0ea27 100644
--- a/ios/chrome/widget_extension/widget_view.mm
+++ b/ios/chrome/search_widget_extension/search_widget_view.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/chrome/widget_extension/widget_view.h"
+#import "ios/chrome/search_widget_extension/search_widget_view.h"
#include "base/logging.h"
@@ -21,8 +21,8 @@ const CGFloat kFakeboxVerticalPadding = 40;
} // namespace
-@interface WidgetView () {
- __weak id<WidgetViewActionTarget> _target;
+@interface SearchWidgetView () {
+ __weak id<SearchWidgetViewActionTarget> _target;
}
@property(nonatomic, copy) NSString* copiedURL;
@@ -35,14 +35,14 @@ const CGFloat kFakeboxVerticalPadding = 40;
@end
-@implementation WidgetView
+@implementation SearchWidgetView
@synthesize copiedURL = _copiedURL;
@synthesize copiedURLLabel = _copiedURLLabel;
@synthesize cursor = _cursor;
-- (instancetype)initWithActionTarget:(id<WidgetViewActionTarget>)target {
+- (instancetype)initWithActionTarget:(id<SearchWidgetViewActionTarget>)target {
self = [super initWithFrame:CGRectZero];
if (self) {
DCHECK(target);

Powered by Google App Engine
This is Rietveld 408576698