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

Side by Side Diff: ios/chrome/browser/ui/util/manual_text_framer.h

Issue 2819283004: [ObjC ARC] Converts ios/chrome/browser/ui/util:util to ARC. (Closed)
Patch Set: Fix copy for block 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UTIL_MANUAL_TEXT_FRAMER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_UTIL_MANUAL_TEXT_FRAMER_H_
6 #define IOS_CHROME_BROWSER_UI_UTIL_MANUAL_TEXT_FRAMER_H_ 6 #define IOS_CHROME_BROWSER_UI_UTIL_MANUAL_TEXT_FRAMER_H_
7 7
8 #import <CoreText/CoreText.h> 8 #import <CoreText/CoreText.h>
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
(...skipping 11 matching lines...) Expand all
22 - (instancetype)initWithString:(NSAttributedString*)string 22 - (instancetype)initWithString:(NSAttributedString*)string
23 inBounds:(CGRect)bounds NS_DESIGNATED_INITIALIZER; 23 inBounds:(CGRect)bounds NS_DESIGNATED_INITIALIZER;
24 - (instancetype)init NS_UNAVAILABLE; 24 - (instancetype)init NS_UNAVAILABLE;
25 25
26 // Manually Frames the paragraph within the bounds provided upon initialization. 26 // Manually Frames the paragraph within the bounds provided upon initialization.
27 // Calling this method populates |textFrame|. 27 // Calling this method populates |textFrame|.
28 - (void)frameText; 28 - (void)frameText;
29 29
30 // The TextFrame created by |-frameText|. Will be nil before |-frameText| is 30 // The TextFrame created by |-frameText|. Will be nil before |-frameText| is
31 // called. 31 // called.
32 @property(nonatomic, readonly) id<TextFrame> textFrame; 32 @property(strong, nonatomic, readonly) id<TextFrame> textFrame;
33 33
34 @end 34 @end
35 35
36 #endif // IOS_CHROME_BROWSER_UI_UTIL_MANUAL_TEXT_FRAMER_H_ 36 #endif // IOS_CHROME_BROWSER_UI_UTIL_MANUAL_TEXT_FRAMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698