OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #import "ios/chrome/browser/ui/bookmarks/bookmark_collection_cells.h" | 5 #import "ios/chrome/browser/ui/bookmarks/bookmark_collection_cells.h" |
6 | 6 |
7 #import <QuartzCore/QuartzCore.h> | 7 #import <QuartzCore/QuartzCore.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 | 10 |
11 #import "ios/chrome/browser/ui/bookmarks/bookmark_extended_button.h" | 11 #import "ios/chrome/browser/ui/bookmarks/bookmark_extended_button.h" |
12 #import "ios/chrome/browser/ui/bookmarks/bookmark_home_view_controller.h" | 12 #import "ios/chrome/browser/ui/bookmarks/bookmark_home_handset_view_controller.h
" |
13 #import "ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h" | 13 #import "ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h" |
14 #import "ios/chrome/browser/ui/rtl_geometry.h" | 14 #import "ios/chrome/browser/ui/rtl_geometry.h" |
15 #import "ios/chrome/browser/ui/uikit_ui_util.h" | 15 #import "ios/chrome/browser/ui/uikit_ui_util.h" |
16 #include "ios/chrome/grit/ios_strings.h" | 16 #include "ios/chrome/grit/ios_strings.h" |
17 #include "ios/chrome/grit/ios_theme_resources.h" | 17 #include "ios/chrome/grit/ios_theme_resources.h" |
18 #import "ios/third_party/material_components_ios/src/components/Ink/src/Material
Ink.h" | 18 #import "ios/third_party/material_components_ios/src/components/Ink/src/Material
Ink.h" |
19 #import "ios/third_party/material_components_ios/src/components/Typography/src/M
aterialTypography.h" | 19 #import "ios/third_party/material_components_ios/src/components/Typography/src/M
aterialTypography.h" |
20 #include "ui/base/l10n/l10n_util_mac.h" | 20 #include "ui/base/l10n/l10n_util_mac.h" |
21 #import "ui/gfx/ios/NSString+CrStringDrawing.h" | 21 #import "ui/gfx/ios/NSString+CrStringDrawing.h" |
22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 return self; | 515 return self; |
516 } | 516 } |
517 | 517 |
518 - (void)layoutSubviews { | 518 - (void)layoutSubviews { |
519 CGFloat lineHeight = 1; | 519 CGFloat lineHeight = 1; |
520 CGFloat lineY = self.bounds.size.height - lineHeight - 8; | 520 CGFloat lineY = self.bounds.size.height - lineHeight - 8; |
521 _lineView.frame = CGRectMake(0, lineY, self.bounds.size.width, lineHeight); | 521 _lineView.frame = CGRectMake(0, lineY, self.bounds.size.width, lineHeight); |
522 } | 522 } |
523 | 523 |
524 @end | 524 @end |
OLD | NEW |