| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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.view.View; | 7 import android.view.View; |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Main callback class used by {@link ContentVideoView}. | 10 * Main callback class used by {@link ContentVideoView}. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 * Called to exit fullscreen video. Embedders must stop showing the view giv
en in | 30 * Called to exit fullscreen video. Embedders must stop showing the view giv
en in |
| 31 * {@link #enterFullscreenVideo(View)}. Must be implemented. | 31 * {@link #enterFullscreenVideo(View)}. Must be implemented. |
| 32 */ | 32 */ |
| 33 public void exitFullscreenVideo(); | 33 public void exitFullscreenVideo(); |
| 34 | 34 |
| 35 /** | 35 /** |
| 36 * Allows the embedder to replace the view indicating that the video is load
ing. | 36 * Allows the embedder to replace the view indicating that the video is load
ing. |
| 37 * If null is returned, the default video loading view is used. | 37 * If null is returned, the default video loading view is used. |
| 38 */ | 38 */ |
| 39 public View getVideoLoadingProgressView(); | 39 public View getVideoLoadingProgressView(); |
| 40 |
| 41 /** |
| 42 * Sets the system ui visibility after entering or exiting fullscreen. |
| 43 * @param enterFullscreen True if video is going fullscreen, or false otherw
ise. |
| 44 */ |
| 45 public void setSystemUiVisibility(boolean enterFullscreen); |
| 40 } | 46 } |
| OLD | NEW |