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

Unified Diff: ios/clean/chrome/browser/ui/tab_collection/tab_collection_data_source.h

Issue 2885983003: [ios] TabCollectionItem (Closed)
Patch Set: Created 3 years, 7 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
Index: ios/clean/chrome/browser/ui/tab_collection/tab_collection_data_source.h
diff --git a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_data_source.h b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_data_source.h
deleted file mode 100644
index eaeecace914eb1ea702d645f27dd9b6824a84edf..0000000000000000000000000000000000000000
--- a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_data_source.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_DATA_SOURCE_H_
-#define IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_DATA_SOURCE_H_
-
-#import <Foundation/Foundation.h>
-
-const int kTabCollectionDataSourceInvalidIndex = -1;
-
-// The data source for tab collection UI.
-// Conceptually the tab collection represents a group of WebState objects (which
-// are ultimately the model-layer representation of a browser tab). The data
-// source must be able to map between indices and WebStates.
-@protocol TabCollectionDataSource<NSObject>
-
-// The number of tabs to be displayed in the collection.
-- (int)numberOfTabs;
-
-// Title for the tab at |index| in the collection.
-- (NSString*)titleAtIndex:(int)index;
-
-// Index for the active tab or kTabCollectionDataSourceInvalidIndex if there is
-// no active tab.
-- (int)indexOfActiveTab;
-
-@end
-
-#endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_DATA_SOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698