Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_COLLECTION_VIEW_LAYOUT_H_ | |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_COLLECTION_VIEW_LAYOUT_H_ | |
| 7 | |
| 8 #import <UIKit/UIKit.h> | |
| 9 | |
| 10 // Collection view layout that displays items in a grid flow layout with | |
| 11 // fixed columns and a vertical scroll. Items are square-shaped. | |
| 12 // Generally speaking, compact size classes have 2 columns, and regular size | |
|
marq (ping after 24h)
2017/02/20 10:09:47
English style nit: Prefer to spell out single-digi
| |
| 13 // classes have more than 2 columns. | |
| 14 @interface TabGridCollectionViewLayout : UICollectionViewFlowLayout | |
| 15 @end | |
| 16 | |
| 17 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_COLLECTION_VIEW_LAYOUT_ H_ | |
| OLD | NEW |