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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwContentVideoViewDelegate.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: 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.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
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 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_video_view.h » ('j') | content/browser/power_save_blocker_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698