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

Side by Side Diff: ios/chrome/browser/ui/find_bar/find_bar_view.h

Issue 2664233004: [ObjC ARC] Converts ios/chrome/browser/ui/find_bar:find_bar to ARC. (Closed)
Patch Set: reorder keywords Created 3 years, 10 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
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 #ifndef IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_VIEW_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_VIEW_H_
6 #define IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_VIEW_H_ 6 #define IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_VIEW_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 // The a11y ID of the text input field in the find-in-page bar. 10 // The a11y ID of the text input field in the find-in-page bar.
(...skipping 20 matching lines...) Expand all
31 NS_DESIGNATED_INITIALIZER; 31 NS_DESIGNATED_INITIALIZER;
32 32
33 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; 33 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
34 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; 34 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
35 35
36 // Updates |resultsLabel| with |text|. Updates |inputField| layout so that input 36 // Updates |resultsLabel| with |text|. Updates |inputField| layout so that input
37 // text does not overlap with results count. |text| can be nil. 37 // text does not overlap with results count. |text| can be nil.
38 - (void)updateResultsLabelWithText:(NSString*)text; 38 - (void)updateResultsLabelWithText:(NSString*)text;
39 39
40 // The textfield with search term. 40 // The textfield with search term.
41 @property(nonatomic, assign) UITextField* inputField; 41 @property(nonatomic, weak) UITextField* inputField;
42 // Button to go to previous search result. 42 // Button to go to previous search result.
43 @property(nonatomic, assign) UIButton* previousButton; 43 @property(nonatomic, weak) UIButton* previousButton;
44 // Button to go to next search result. 44 // Button to go to next search result.
45 @property(nonatomic, assign) UIButton* nextButton; 45 @property(nonatomic, weak) UIButton* nextButton;
46 // Button to dismiss Find in Page. 46 // Button to dismiss Find in Page.
47 @property(nonatomic, assign) UIButton* closeButton; 47 @property(nonatomic, weak) UIButton* closeButton;
48 48
49 @end 49 @end
50 50
51 #endif // IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_VIEW_H_ 51 #endif // IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/find_bar/find_bar_touch_forwarding_view.mm ('k') | ios/chrome/browser/ui/find_bar/find_bar_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698