OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.android_webview; | 5 package org.chromium.android_webview; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 import android.content.pm.ActivityInfo; | 8 import android.content.pm.ActivityInfo; |
9 import android.view.View; | 9 import android.view.View; |
10 import android.webkit.WebChromeClient.CustomViewCallback; | 10 import android.webkit.WebChromeClient.CustomViewCallback; |
(...skipping 23 matching lines...) Expand all Loading... |
34 }; | 34 }; |
35 mAwContentsClient.onShowCustomView(view, cb); | 35 mAwContentsClient.onShowCustomView(view, cb); |
36 } | 36 } |
37 | 37 |
38 @Override | 38 @Override |
39 public void onDestroyContentVideoView() { | 39 public void onDestroyContentVideoView() { |
40 mAwContentsClient.onHideCustomView(); | 40 mAwContentsClient.onHideCustomView(); |
41 } | 41 } |
42 | 42 |
43 @Override | 43 @Override |
| 44 public void keepScreenOn(boolean screenOn) { |
| 45 } |
| 46 |
| 47 @Override |
44 public Context getContext() { | 48 public Context getContext() { |
45 return mContext; | 49 return mContext; |
46 } | 50 } |
47 | 51 |
48 @Override | 52 @Override |
49 public View getVideoLoadingProgressView() { | 53 public View getVideoLoadingProgressView() { |
50 return mAwContentsClient.getVideoLoadingProgressView(); | 54 return mAwContentsClient.getVideoLoadingProgressView(); |
51 } | 55 } |
52 } | 56 } |
OLD | NEW |