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

Side by Side Diff: ios/showcase/strip/sc_strip_coordinator.mm

Issue 2592983003: [Clean Skeleton] Migrate code to clean/ (Closed)
Patch Set: Rebased Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « ios/showcase/strip/BUILD.gn ('k') | ios/showcase/tab_grid/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/showcase/strip/sc_strip_coordinator.h" 5 #import "ios/showcase/strip/sc_strip_coordinator.h"
6 6
7 #import "ios/chrome/browser/ui/actions/tab_strip_actions.h" 7 #import "ios/clean/chrome/browser/ui/actions/tab_strip_actions.h"
8 #import "ios/chrome/browser/ui/strip/strip_container_view_controller.h" 8 #import "ios/clean/chrome/browser/ui/strip/strip_container_view_controller.h"
9 9
10 #if !defined(__has_feature) || !__has_feature(objc_arc) 10 #if !defined(__has_feature) || !__has_feature(objc_arc)
11 #error "This file requires ARC support." 11 #error "This file requires ARC support."
12 #endif 12 #endif
13 13
14 @interface SCStripCoordinator () 14 @interface SCStripCoordinator ()
15 @property(nonatomic, strong) StripContainerViewController* viewController; 15 @property(nonatomic, strong) StripContainerViewController* viewController;
16 @end 16 @end
17 17
18 @implementation SCStripCoordinator 18 @implementation SCStripCoordinator
(...skipping 24 matching lines...) Expand all
43 [button setFrame:CGRectMake(10, 10, 80, 50)]; 43 [button setFrame:CGRectMake(10, 10, 80, 50)];
44 [button setTitle:title forState:UIControlStateNormal]; 44 [button setTitle:title forState:UIControlStateNormal];
45 [viewController.view addSubview:button]; 45 [viewController.view addSubview:button];
46 [button addTarget:nil 46 [button addTarget:nil
47 action:action 47 action:action
48 forControlEvents:UIControlEventTouchUpInside]; 48 forControlEvents:UIControlEventTouchUpInside];
49 return viewController; 49 return viewController;
50 } 50 }
51 51
52 @end 52 @end
OLDNEW
« no previous file with comments | « ios/showcase/strip/BUILD.gn ('k') | ios/showcase/tab_grid/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698