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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java

Issue 452613002: [Checkstyle] Update class member variable names to match style guides. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: boliu nits Created 6 years, 4 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: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java
index fb29ea5ce638283fe7c6f112ab4868e75cd86f05..cd25445508c289b25259a3fe2b7b4c07b53389d1 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java
@@ -24,25 +24,25 @@ import org.chromium.content.common.ContentSwitches;
public class AwContentsClientFullScreenVideoTest extends AwTestBase {
private FullScreenVideoTestAwContentsClient mContentsClient;
private ContentViewCore mContentViewCore;
- private VideoTestWebServer webServer;
- private AwTestContainerView testContainerView;
+ private VideoTestWebServer mWebServer;
+ private AwTestContainerView mTestContainerView;
@Override
protected void setUp() throws Exception {
super.setUp();
mContentsClient = new FullScreenVideoTestAwContentsClient(getActivity());
- testContainerView =
+ mTestContainerView =
createAwTestContainerViewOnMainSync(mContentsClient);
- mContentViewCore = testContainerView.getContentViewCore();
- enableJavaScriptOnUiThread(testContainerView.getAwContents());
- webServer = new VideoTestWebServer(
+ mContentViewCore = mTestContainerView.getContentViewCore();
+ enableJavaScriptOnUiThread(mTestContainerView.getAwContents());
+ mWebServer = new VideoTestWebServer(
getInstrumentation().getTargetContext());
}
@Override
protected void tearDown() throws Exception {
super.tearDown();
- if (webServer != null) webServer.getTestWebServer().shutdown();
+ if (mWebServer != null) mWebServer.getTestWebServer().shutdown();
}
@MediumTest
@@ -122,13 +122,13 @@ public class AwContentsClientFullScreenVideoTest extends AwTestBase {
}
private void doOnShowCustomViewTest() throws Exception {
- loadUrlSync(testContainerView.getAwContents(),
+ loadUrlSync(mTestContainerView.getAwContents(),
mContentsClient.getOnPageFinishedHelper(),
- webServer.getFullScreenVideoTestURL());
+ mWebServer.getFullScreenVideoTestURL());
// Click the button in full_screen_video_test.html to enter fullscreen.
TouchCommon touchCommon = new TouchCommon(this);
- touchCommon.singleClickView(testContainerView);
+ touchCommon.singleClickView(mTestContainerView);
mContentsClient.waitForCustomViewShown();
}
}

Powered by Google App Engine
This is Rietveld 408576698