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

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

Issue 689693002: Add additional closeAllTabs(boolean uponExit) methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove TabModel#closeAllTabs(boolean allowDelegation) Created 6 years, 1 month 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.profiles.Profile; 9 import org.chromium.chrome.browser.profiles.Profile;
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 @Override 51 @Override
52 public Tab getNextTabIfClosed(int id) { 52 public Tab getNextTabIfClosed(int id) {
53 return null; 53 return null;
54 } 54 }
55 55
56 @Override 56 @Override
57 public void closeAllTabs() { 57 public void closeAllTabs() {
58 } 58 }
59 59
60 @Override 60 @Override
61 public void closeAllTabs(boolean allowDelegation) { 61 public void closeAllTabs(boolean allowDelegation, boolean uponExit) {
62 } 62 }
63 63
64 @Override 64 @Override
65 public int getCount() { 65 public int getCount() {
66 // We must return 0 to be consistent with getTab(i) 66 // We must return 0 to be consistent with getTab(i)
67 return 0; 67 return 0;
68 } 68 }
69 69
70 @Override 70 @Override
71 public Tab getTabAt(int position) { 71 public Tab getTabAt(int position) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 @Override 131 @Override
132 public void addObserver(TabModelObserver observer) { 132 public void addObserver(TabModelObserver observer) {
133 } 133 }
134 134
135 @Override 135 @Override
136 public void removeObserver(TabModelObserver observer) { 136 public void removeObserver(TabModelObserver observer) {
137 } 137 }
138 138
139 } 139 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698