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_home_handset_view_controller.h
" | 5 #import "ios/chrome/browser/ui/bookmarks/bookmark_home_handset_view_controller.h
" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/user_metrics.h" | |
11 #include "base/metrics/user_metrics_action.h" | 10 #include "base/metrics/user_metrics_action.h" |
12 #include "base/strings/sys_string_conversions.h" | 11 #include "base/strings/sys_string_conversions.h" |
13 #include "components/bookmarks/browser/bookmark_model.h" | 12 #include "components/bookmarks/browser/bookmark_model.h" |
14 #include "components/strings/grit/components_strings.h" | 13 #include "components/strings/grit/components_strings.h" |
15 #include "google_apis/gaia/google_service_auth_error.h" | 14 #include "google_apis/gaia/google_service_auth_error.h" |
16 #include "ios/chrome/browser/bookmarks/bookmarks_utils.h" | 15 #include "ios/chrome/browser/bookmarks/bookmarks_utils.h" |
17 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 16 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
18 #import "ios/chrome/browser/ui/alert_coordinator/action_sheet_coordinator.h" | 17 #import "ios/chrome/browser/ui/alert_coordinator/action_sheet_coordinator.h" |
19 #import "ios/chrome/browser/ui/bookmarks/bars/bookmark_editing_bar.h" | 18 #import "ios/chrome/browser/ui/bookmarks/bars/bookmark_editing_bar.h" |
20 #import "ios/chrome/browser/ui/bookmarks/bars/bookmark_navigation_bar.h" | 19 #import "ios/chrome/browser/ui/bookmarks/bars/bookmark_navigation_bar.h" |
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 } | 1114 } |
1116 | 1115 |
1117 - (NSIndexPath*)indexPathForCell:(UICollectionViewCell*)cell { | 1116 - (NSIndexPath*)indexPathForCell:(UICollectionViewCell*)cell { |
1118 DCHECK([self primaryView].collectionView); | 1117 DCHECK([self primaryView].collectionView); |
1119 NSIndexPath* indexPath = | 1118 NSIndexPath* indexPath = |
1120 [[self primaryView].collectionView indexPathForCell:cell]; | 1119 [[self primaryView].collectionView indexPathForCell:cell]; |
1121 return indexPath; | 1120 return indexPath; |
1122 } | 1121 } |
1123 | 1122 |
1124 @end | 1123 @end |
OLD | NEW |