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.content.browser; | 5 package org.chromium.content.browser; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 import android.view.View; | 8 import android.view.View; |
9 | 9 |
10 /** | 10 /** |
11 * Allows customization for clients of the ContentVideoView. | 11 * Allows customization for clients of the ContentVideoView. |
12 * The implementer is responsible for displaying the Android view when | 12 * The implementer is responsible for displaying the Android view when |
13 * {@link #onShowCustomView(View)} is called. | 13 * {@link #onShowCustomView(View)} is called. |
14 */ | 14 */ |
15 public interface ContentVideoViewContextDelegate { | 15 public interface ContentVideoViewContextDelegate { |
16 public void onShowCustomView(View view); | 16 public void onShowCustomView(View view); |
17 public void onDestroyContentVideoView(); | 17 public void onDestroyContentVideoView(); |
| 18 public void keepScreenOn(boolean screenOn); |
18 public Context getContext(); | 19 public Context getContext(); |
19 public View getVideoLoadingProgressView(); | 20 public View getVideoLoadingProgressView(); |
20 } | 21 } |
OLD | NEW |