| 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
|
|
|