|
Android: convert kEnumName to ENUM_NAME in java_cpp_enum.py.
Since the Blink rename, enum entry names now use the kCamelCase naming
convention instead of SHOUTY_CASE. This doesn't match well with Java
naming conventions and Java constants created by java_cpp_enum.py look
out of place with the rest of the Java codebase.
This CL modifies java_cpp_enum.py so that C++ enum naming conventions
don't leak into the Java side, specifically translating kCamelCase and
CamelCase enum entries to SHOUTY_CASE.
BUG= 710335
Review-Url: https://codereview.chromium.org/2815103004
Cr-Commit-Position: refs/heads/master@{#464661}
Committed: https://chromium.googlesource.com/chromium/src/+/23b8f65ce75fc2ff04a28cb5a940861c134e0797
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+266 lines, -93 lines) |
Patch |
|
M |
android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
build/android/gyp/java_cpp_enum.py
|
View
|
1
2
3
|
3 chunks |
+41 lines, -2 lines |
0 comments
|
Download
|
|
M |
build/android/gyp/java_cpp_enum_tests.py
|
View
|
1
|
5 chunks |
+136 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsDelegateAndroid.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebApkUpdateManagerTest.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappInfoTest.java
|
View
|
|
6 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappModeTest.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/junit/src/org/chromium/chrome/browser/webapps/WebApkInfoTest.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/junit/src/org/chromium/chrome/browser/webapps/WebApkUpdateManagerTest.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/junit/src/org/chromium/chrome/browser/webapps/WebappDataStorageTest.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java
|
View
|
|
8 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
content/public/android/java/src/org/chromium/content/browser/input/ImeUtils.java
|
View
|
|
3 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
|
M |
media/base/android/java/src/org/chromium/media/CodecProfileLevelList.java
|
View
|
|
7 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
media/base/android/java/src/org/chromium/media/MediaCodecUtil.java
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 23 (15 generated)
|