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/showcase/text_badge_view/sc_text_badge_view_controller.mm

Issue 2978533002: Revert of [ios showcase] Integrated TextBadgeView with Showcase. (Closed)
Patch Set: Created 3 years, 5 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/showcase/text_badge_view/sc_text_badge_view_controller.mm
diff --git a/ios/showcase/text_badge_view/sc_text_badge_view_controller.mm b/ios/showcase/text_badge_view/sc_text_badge_view_controller.mm
deleted file mode 100644
index 1c99fa315eaa333a85b2e771c77b35b420f90ebd..0000000000000000000000000000000000000000
--- a/ios/showcase/text_badge_view/sc_text_badge_view_controller.mm
+++ /dev/null
@@ -1,24 +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.
-
-#import "ios/showcase/text_badge_view/sc_text_badge_view_controller.h"
-
-#import "ios/chrome/browser/ui/reading_list/text_badge_view.h"
-
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
-
-@implementation SCTextBadgeViewController
-
-- (void)viewDidLoad {
- [super viewDidLoad];
- self.view.backgroundColor = [UIColor grayColor];
- TextBadgeView* textBadge = [[TextBadgeView alloc] initWithText:@"TEXT"];
- [self.view addSubview:textBadge];
- textBadge.bounds = CGRectMake(0.0f, 0.0f, 100.0f, 100.0f);
- textBadge.center = self.view.center;
-}
-
-@end

Powered by Google App Engine
This is Rietveld 408576698