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

Unified Diff: ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm

Issue 2716773003: Revert "Revert of [tab_grid] Hack-in border for active tab. (patchset #5 id:80001 of https://codere… (Closed)
Patch Set: Fix cell refresh logic. Created 3 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tab_grid/tab_grid_tab_cell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm
diff --git a/ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm b/ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm
index 6624402ed38814a0d8dc66ebfc7d828cc8bba8ad..938f9009622a1acbc418b10396facc1e19c3309f 100644
--- a/ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm
+++ b/ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm
@@ -94,6 +94,10 @@
return urlText;
}
+- (NSInteger)indexOfActiveTab {
+ return static_cast<NSInteger>(_activeWebStateIndex);
+}
+
#pragma mark - TabCommands
- (void)showTabAtIndexPath:(NSIndexPath*)indexPath {
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tab_grid/tab_grid_tab_cell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698