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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java

Issue 2792583002: 📱 Simplify naming of generated java enums IntDefs (Closed)
Patch Set: rebase Created 3 years, 8 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/tab/Tab.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
index ed0bc3c71ce1d32da7413075e15f9a9f9cac92cf..07c99f601651e750e97db5f1d51c46ab58dca170 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
@@ -97,7 +97,6 @@
import org.chromium.content_public.browser.LoadUrlParams;
import org.chromium.content_public.browser.WebContents;
import org.chromium.content_public.common.BrowserControlsState;
-import org.chromium.content_public.common.BrowserControlsState.BrowserControlsStateEnum;
import org.chromium.content_public.common.Referrer;
import org.chromium.content_public.common.ResourceRequestBody;
import org.chromium.printing.PrintManagerDelegateImpl;
@@ -2534,9 +2533,8 @@ public void updateFullscreenEnabledState() {
* @param animate Whether the controls should animate to the specified ending condition or
* should jump immediately.
*/
- protected void updateBrowserControlsState(
- @BrowserControlsStateEnum int constraints,
- @BrowserControlsStateEnum int current, boolean animate) {
+ protected void updateBrowserControlsState(@BrowserControlsState int constraints,
+ @BrowserControlsState int current, boolean animate) {
if (mNativeTabAndroid == 0) return;
nativeUpdateBrowserControlsState(mNativeTabAndroid, constraints, current, animate);
}
@@ -2597,7 +2595,7 @@ public boolean isShowingBrowserControlsEnabled() {
* @return The current visibility constraints for the display of browser controls.
* {@link BrowserControlsState} defines the valid return options.
*/
- @BrowserControlsStateEnum
+ @BrowserControlsState
public int getBrowserControlsStateConstraints() {
int constraints = BrowserControlsState.BOTH;
if (!isShowingBrowserControlsEnabled()) {

Powered by Google App Engine
This is Rietveld 408576698