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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenDelegateFactory.java

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 2 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: chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenDelegateFactory.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenDelegateFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenDelegateFactory.java
index 283a24f0dfaad892ded078c0a873a8d6012aa7f6..f8fa6cc2d27771b3fd6fd45302444264cd5435bd 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenDelegateFactory.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenDelegateFactory.java
@@ -6,10 +6,10 @@ package org.chromium.chrome.browser.webapps;
import org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator;
import org.chromium.chrome.browser.contextmenu.ContextMenuPopulator;
+import org.chromium.chrome.browser.tab.BrowserControlsVisibilityDelegate;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.chrome.browser.tab.TabContextMenuItemDelegate;
import org.chromium.chrome.browser.tab.TabDelegateFactory;
-import org.chromium.chrome.browser.tab.TopControlsVisibilityDelegate;
/**
* A {@link TabDelegateFactory} class to be used in all {@link Tab} instances owned
@@ -23,11 +23,11 @@ public class FullScreenDelegateFactory extends TabDelegateFactory {
}
@Override
- public TopControlsVisibilityDelegate createTopControlsVisibilityDelegate(Tab tab) {
- return new TopControlsVisibilityDelegate(tab) {
+ public BrowserControlsVisibilityDelegate createBrowserControlsVisibilityDelegate(Tab tab) {
+ return new BrowserControlsVisibilityDelegate(tab) {
@Override
- public boolean isHidingTopControlsEnabled() {
- return !isShowingTopControlsEnabled();
+ public boolean isHidingBrowserControlsEnabled() {
+ return !isShowingBrowserControlsEnabled();
}
};
}

Powered by Google App Engine
This is Rietveld 408576698