summaryrefslogtreecommitdiffstats
path: root/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/PageCyclerTestActivity.java
blob: 632c1e9c742a17774889095e7e7e54c235434757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.chromium.webview_shell;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

/**
 * This activity is used for loading urls using webview on Appurify bots to make sure the
 * webview doesn't crash.
 */
public class PageCyclerTestActivity extends Activity {

    private WebView mWebView;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_webview);
        mWebView = (WebView) findViewById(R.id.webview);
    }

    public WebView getWebView() {
        return mWebView;
    }
}