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

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

Issue 2692903002: Don't show media controls when there is a persistent video. (Closed)
Patch Set: rebase Created 3 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_public.browser; 5 package org.chromium.content_public.browser;
6 6
7 import android.graphics.Bitmap; 7 import android.graphics.Bitmap;
8 import android.graphics.Rect; 8 import android.graphics.Rect;
9 import android.os.Handler; 9 import android.os.Handler;
10 import android.os.Parcelable; 10 import android.os.Parcelable;
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 public int downloadImage(String url, boolean isFavicon, int maxBitmapSize, 365 public int downloadImage(String url, boolean isFavicon, int maxBitmapSize,
366 boolean bypassCache, ImageDownloadCallback callback); 366 boolean bypassCache, ImageDownloadCallback callback);
367 367
368 /** 368 /**
369 * Issues a fake notification about the renderer being killed. 369 * Issues a fake notification about the renderer being killed.
370 * 370 *
371 * @param wasOomProtected True if the renderer was protected from the OS out -of-memory killer 371 * @param wasOomProtected True if the renderer was protected from the OS out -of-memory killer
372 * (e.g. renderer for the currently selected tab) 372 * (e.g. renderer for the currently selected tab)
373 */ 373 */
374 public void simulateRendererKilledForTesting(boolean wasOomProtected); 374 public void simulateRendererKilledForTesting(boolean wasOomProtected);
375
376 /**
377 * Notifies the WebContents about the new persistent video status. It should be called whenever
378 * the value changes.
379 *
380 * @param value Whether there is a persistent video associated with this Web Contents.
381 */
382 public void setHasPersistentVideo(boolean value);
375 } 383 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698