Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsGroupView.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsGroupView.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsGroupView.java |
index 5e497c011ce24ad1fe90bc5a2439e19a59b92829..a83e53a5d9a6a46a032f5a220e23b978d7ca1b69 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsGroupView.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsGroupView.java |
@@ -17,7 +17,6 @@ import org.chromium.base.ApiCompatibilityUtils; |
import org.chromium.chrome.R; |
import org.chromium.chrome.browser.ntp.ForeignSessionHelper.ForeignSession; |
import org.chromium.chrome.browser.widget.TintedDrawable; |
-import org.chromium.ui.base.DeviceFormFactor; |
/** |
* Header view shown above each group of items on the Recent Tabs page. Shows the name of the |
@@ -78,21 +77,6 @@ public class RecentTabsGroupView extends RelativeLayout { |
} |
/** |
- * Configures the view for currently open tabs. |
- * |
- * @param isExpanded Whether the view is expanded or collapsed. |
- */ |
- public void configureForCurrentlyOpenTabs(boolean isExpanded) { |
- mDeviceIcon.setVisibility(View.VISIBLE); |
- mDeviceIcon.setImageResource(DeviceFormFactor.isTablet(getContext()) |
- ? R.drawable.recent_tablet : R.drawable.recent_phone); |
- String title = getResources().getString(R.string.recent_tabs_this_device); |
- mDeviceLabel.setText(title); |
- setTimeLabelVisibility(View.GONE); |
- configureExpandedCollapsed(isExpanded); |
- } |
- |
- /** |
* Configures the view for a foreign session. |
* |
* @param session The session to configure the view for. |