diff options
author | aurimas <aurimas@chromium.org> | 2014-10-16 14:10:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-16 21:10:38 +0000 |
commit | a49e9faf5eb9f5fe417ce6470bb58f95d2a7261e (patch) | |
tree | c6b258026f67cfdbab82110b917466c6b1f3c2c8 /android_webview/test | |
parent | d87ffab4e3cd44b2ad5df4c8360f9525c01c9076 (diff) | |
download | chromium_src-a49e9faf5eb9f5fe417ce6470bb58f95d2a7261e.zip chromium_src-a49e9faf5eb9f5fe417ce6470bb58f95d2a7261e.tar.gz chromium_src-a49e9faf5eb9f5fe417ce6470bb58f95d2a7261e.tar.bz2 |
Fix Java indentation issues.
Fix indentation issues to allow enabling Checkstyle indentation rule.
BUG=318404
Review URL: https://codereview.chromium.org/663573002
Cr-Commit-Position: refs/heads/master@{#299975}
Diffstat (limited to 'android_webview/test')
3 files changed, 10 insertions, 9 deletions
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java index 8ed513f..5095127 100644 --- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java +++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java @@ -129,7 +129,7 @@ public class AwShellActivity extends Activity { }; SharedPreferences sharedPreferences = - getSharedPreferences(PREFERENCES_NAME, Context.MODE_PRIVATE); + getSharedPreferences(PREFERENCES_NAME, Context.MODE_PRIVATE); if (mBrowserContext == null) { mBrowserContext = new AwBrowserContext(sharedPreferences); } diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java index ee0d395..bc5e429 100644 --- a/android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java +++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java @@ -8,11 +8,11 @@ package org.chromium.android_webview.shell; * Provides an entry point to the native draw functor. */ public class DrawGL { - public static void drawGL(long drawGL, long viewContext, int width, int height, - int scrollX, int scrollY, int mode) { - nativeDrawGL(drawGL, viewContext, width, height, scrollX, scrollY, mode); - } + public static void drawGL(long drawGL, long viewContext, int width, int height, + int scrollX, int scrollY, int mode) { + nativeDrawGL(drawGL, viewContext, width, height, scrollX, scrollY, mode); + } - private static native void nativeDrawGL(long drawGL, long viewContext, - int width, int height, int scrollX, int scrollY, int mode); + private static native void nativeDrawGL(long drawGL, long viewContext, + int width, int height, int scrollX, int scrollY, int mode); } diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java index c0d8cb3..3f99e9b 100644 --- a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java +++ b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java @@ -238,7 +238,7 @@ public class AwTestContainerView extends FrameLayout { FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT)); } else { - setLayerType(LAYER_TYPE_SOFTWARE, null); + setLayerType(LAYER_TYPE_SOFTWARE, null); } mNativeGLDelegate = new NativeGLDelegate(); mInternalAccessDelegate = new InternalAccessAdapter(); @@ -289,6 +289,7 @@ public class AwTestContainerView extends FrameLayout { mAttachedContents = true; } else { mHardwareView.setReadyToRenderCallback(new Runnable() { + @Override public void run() { assert !mAttachedContents; mAwContents.onAttachedToWindow(); @@ -389,7 +390,7 @@ public class AwTestContainerView extends FrameLayout { @Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { AccessibilityNodeProvider provider = - mAwContents.getAccessibilityNodeProvider(); + mAwContents.getAccessibilityNodeProvider(); return provider == null ? super.getAccessibilityNodeProvider() : provider; } |