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

Side by Side Diff: ios/chrome/browser/ui/rtl_geometry.h

Issue 2562403003: Fix include guards of files in src/ios. (Closed)
Patch Set: Rebase on origin/master. Created 4 years 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 RTL_GEOMETRY_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_RTL_GEOMETRY_H_
6 #define RTL_GEOMETRY_H_ 6 #define IOS_CHROME_BROWSER_UI_RTL_GEOMETRY_H_
7 7
8 #include <CoreGraphics/CoreGraphics.h> 8 #include <CoreGraphics/CoreGraphics.h>
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 12
13 // Utilities for direction-independent layout calculations and related 13 // Utilities for direction-independent layout calculations and related
14 // functions. 14 // functions.
15 15
16 // True if views should be laid out with full RTL mirroring. 16 // True if views should be laid out with full RTL mirroring.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 // Autolayout utilities 196 // Autolayout utilities
197 197
198 // Returns the correct NSLayoutFormatOption for the current OS and build. This 198 // Returns the correct NSLayoutFormatOption for the current OS and build. This
199 // will return NSLayoutFormatDirectionLeadingToTrailing when a full RTL flip 199 // will return NSLayoutFormatDirectionLeadingToTrailing when a full RTL flip
200 // is correct, and NSLayoutFormatDirectionLeftToRight when layout should not 200 // is correct, and NSLayoutFormatDirectionLeftToRight when layout should not
201 // change with text direction. 201 // change with text direction.
202 // Generally speaking this option should be applied to any whole-page layouts; 202 // Generally speaking this option should be applied to any whole-page layouts;
203 // smaller sections of views should be determined case by case. 203 // smaller sections of views should be determined case by case.
204 NSLayoutFormatOptions LayoutOptionForRTLSupport(); 204 NSLayoutFormatOptions LayoutOptionForRTLSupport();
205 205
206 #endif // RTL_GEOMETRY_H_ 206 #endif // IOS_CHROME_BROWSER_UI_RTL_GEOMETRY_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h ('k') | ios/chrome/browser/ui/webui/crashes_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698