summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
authoraurimas <aurimas@chromium.org>2014-10-16 14:10:22 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-16 21:10:38 +0000
commita49e9faf5eb9f5fe417ce6470bb58f95d2a7261e (patch)
treec6b258026f67cfdbab82110b917466c6b1f3c2c8 /android_webview/test
parentd87ffab4e3cd44b2ad5df4c8360f9525c01c9076 (diff)
downloadchromium_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')
-rw-r--r--android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java2
-rw-r--r--android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java12
-rw-r--r--android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java5
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;
}