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

Unified Diff: ios/chrome/browser/tabs/tab_model_order_controller.h

Issue 2703333006: Move the notion of current Tab from TabModel to WebStateList. (Closed)
Patch Set: Rebase. 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
Index: ios/chrome/browser/tabs/tab_model_order_controller.h
diff --git a/ios/chrome/browser/tabs/tab_model_order_controller.h b/ios/chrome/browser/tabs/tab_model_order_controller.h
deleted file mode 100644
index caeb5b01046ae355a1e7b0ed67206bfaf8db1d2c..0000000000000000000000000000000000000000
--- a/ios/chrome/browser/tabs/tab_model_order_controller.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2012 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_CHROME_BROWSER_TABS_TAB_MODEL_ORDER_CONTROLLER_H_
-#define IOS_CHROME_BROWSER_TABS_TAB_MODEL_ORDER_CONTROLLER_H_
-
-#import <Foundation/Foundation.h>
-
-#import "ios/chrome/browser/tabs/tab_model.h"
-
-// An object that allows different types of ordering and reselection to be
-// heuristics plugged into a TabStripModel. Closely parallels
-// chrome/browser/tabs/tab_strip_model_order_controller.h
-// but without the dependence on TabContentsWrapper and TabStripModel.
-@interface TabModelOrderController : NSObject
-
-// Initializer, |model| must be non-nil and is not retained.
-- (instancetype)initWithTabModel:(TabModel*)model;
-
-// Returns the tab in which to shift selection after a tab is closed. May
-// return nil if there are no more tabs.
-- (Tab*)determineNewSelectedTabFromRemovedTab:(Tab*)removedTab;
-
-@end
-
-#endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_ORDER_CONTROLLER_H_
« no previous file with comments | « ios/chrome/browser/tabs/tab_model_observers_bridge.mm ('k') | ios/chrome/browser/tabs/tab_model_order_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698