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

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

Issue 2815103004: Android: convert kEnumName to ENUM_NAME in java_cpp_enum.py. (Closed)
Patch Set: Address agrieve@ comments 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/webapps/WebappActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
index 33c6e5f2c5b39e38d89907cd975998af5b51e36c..95ffc65c3e15a5a0218309663684f47f502bd346 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
@@ -132,7 +132,7 @@ public class WebappActivity extends FullScreenActivity {
getActivityTab().addObserver(createTabObserver());
getActivityTab().getTabWebContentsDelegateAndroid().setDisplayMode(
mWebappInfo.displayMode());
- if (mWebappInfo.displayMode() == WebDisplayMode.kFullscreen) {
+ if (mWebappInfo.displayMode() == WebDisplayMode.FULLSCREEN) {
enterImmersiveMode();
}
}
@@ -473,13 +473,13 @@ public class WebappActivity extends FullScreenActivity {
return new ChromeFullscreenManager(this, false) {
@Override
public void setPersistentFullscreenMode(boolean enabled) {
- if (mWebappInfo.displayMode() == WebDisplayMode.kFullscreen) return;
+ if (mWebappInfo.displayMode() == WebDisplayMode.FULLSCREEN) return;
super.setPersistentFullscreenMode(enabled);
}
@Override
public boolean getPersistentFullscreenMode() {
- if (mWebappInfo.displayMode() == WebDisplayMode.kFullscreen) return false;
+ if (mWebappInfo.displayMode() == WebDisplayMode.FULLSCREEN) return false;
return super.getPersistentFullscreenMode();
}
};

Powered by Google App Engine
This is Rietveld 408576698