Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContentVideoViewContextDelegate.java

Issue 15035013: Keep screen on when there is an active WebRTC session on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: code review: add braces Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698