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

Unified Diff: ios/chrome/browser/ui/fancy_ui/bidi_container_view.h

Issue 2838213002: [ObjC ARC] Converts ios/chrome/browser/ui/fancy_ui:fancy_ui to ARC. (Closed)
Patch Set: Remove scoped object header 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/browser/ui/fancy_ui/bidi_container_view.h
diff --git a/ios/chrome/browser/ui/fancy_ui/bidi_container_view.h b/ios/chrome/browser/ui/fancy_ui/bidi_container_view.h
index da23f9b55590479176469086fe971d7f41ce0b6e..1766bb2a8821143770159e0a9ad445f66210701a 100644
--- a/ios/chrome/browser/ui/fancy_ui/bidi_container_view.h
+++ b/ios/chrome/browser/ui/fancy_ui/bidi_container_view.h
@@ -6,26 +6,11 @@
#import <UIKit/UIKit.h>
-#include "base/mac/scoped_nsobject.h"
-
-namespace ios {
-namespace rtl {
-enum AdjustSubviewsForRTLType {
- ADJUST_FRAME_AND_AUTOROTATION_MASK_FOR_ALL_SUBVIEWS,
- ADJUST_FRAME_FOR_UPDATED_SUBVIEWS
-};
-} // namespace rtl
-} // namespace ios
-
// A UIView that lays outs its subviews based on the direction of the current
// language. If the current language is RTL then during the first call to
// |layoutSubviews|, this view will flip horizontally all its subviews around
// its center axis and adjust the autoresizing masks.
-@interface BidiContainerView : UIView {
- @private
- ios::rtl::AdjustSubviewsForRTLType adjustSubviewsType_;
- base::scoped_nsobject<NSMutableSet> subviewsToBeAdjustedForRTL_;
-}
+@interface BidiContainerView : UIView
// Adds |subview| to the set of subviews that need to be adjusted to RTL. If the
// current language is RTL, then the next call |layoutSubviews| will flip

Powered by Google App Engine
This is Rietveld 408576698