OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 package org.chromium.webview_shell; | |
6 | |
7 import android.app.Activity; | |
8 import android.os.Bundle; | |
9 import android.webkit.WebView; | |
10 | |
11 /** | |
12 * This activity is used for loading urls using webview on Appurify bots to make
sure the | |
13 * webview doesn't crash. | |
14 */ | |
15 public class PageCyclerTestActivity extends Activity { | |
16 | |
17 private WebView mWebView; | |
18 | |
19 @Override | |
20 public void onCreate(Bundle savedInstanceState) { | |
21 super.onCreate(savedInstanceState); | |
22 setContentView(R.layout.activity_webview); | |
23 mWebView = (WebView) findViewById(R.id.webview); | |
24 } | |
25 | |
26 public WebView getWebView() { | |
27 return mWebView; | |
28 } | |
29 } | |
OLD | NEW |