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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelSelector.java

Issue 406023002: Restructuring NavigationController functionalities from ContentViewCore to NavigationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch with findbugs_known_bugs.txt changes. Created 6 years, 3 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 unified diff | Download patch
OLDNEW
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 package org.chromium.chrome.browser.tabmodel; 5 package org.chromium.chrome.browser.tabmodel;
6 6
7 import org.chromium.base.VisibleForTesting; 7 import org.chromium.base.VisibleForTesting;
8 import org.chromium.chrome.browser.Tab; 8 import org.chromium.chrome.browser.Tab;
9 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType; 9 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType;
10 import org.chromium.content.browser.LoadUrlParams; 10 import org.chromium.content_public.browser.LoadUrlParams;
11 11
12 import java.util.List; 12 import java.util.List;
13 13
14 /** 14 /**
15 * TabModelSelector is a wrapper class containing both a normal and an incognito TabModel. 15 * TabModelSelector is a wrapper class containing both a normal and an incognito TabModel.
16 * This class helps the app know which mode it is currently in, and which TabMod el it should 16 * This class helps the app know which mode it is currently in, and which TabMod el it should
17 * be using. 17 * be using.
18 */ 18 */
19 public interface TabModelSelector { 19 public interface TabModelSelector {
20 /** 20 /**
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 * @param changeListener The {@link TabModelSelector.ChangeListener} to remo ve. 138 * @param changeListener The {@link TabModelSelector.ChangeListener} to remo ve.
139 */ 139 */
140 void unregisterChangeListener(ChangeListener changeListener); 140 void unregisterChangeListener(ChangeListener changeListener);
141 141
142 /** 142 /**
143 * Calls {@link TabModel#commitAllTabClosures()} on all {@link TabModel}s ow ned by this 143 * Calls {@link TabModel#commitAllTabClosures()} on all {@link TabModel}s ow ned by this
144 * selector. 144 * selector.
145 */ 145 */
146 void commitAllTabClosures(); 146 void commitAllTabClosures();
147 } 147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698