| 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.ActivityNotFoundException; | 7 import android.content.ActivityNotFoundException; |
| 8 import android.content.Context; | 8 import android.content.Context; |
| 9 import android.content.Intent; | 9 import android.content.Intent; |
| 10 import android.graphics.RectF; | 10 import android.graphics.RectF; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 175 |
| 176 public void onExternalVideoSurfaceRequested(int playerId) { | 176 public void onExternalVideoSurfaceRequested(int playerId) { |
| 177 } | 177 } |
| 178 | 178 |
| 179 public void onGeometryChanged(int playerId, RectF rect) { | 179 public void onGeometryChanged(int playerId, RectF rect) { |
| 180 } | 180 } |
| 181 | 181 |
| 182 public ContentVideoViewClient getContentVideoViewClient() { | 182 public ContentVideoViewClient getContentVideoViewClient() { |
| 183 return null; | 183 return null; |
| 184 } | 184 } |
| 185 |
| 186 /** |
| 187 * Called when BrowserMediaPlayerManager wants to load a media resource. |
| 188 * @param url the URL of media resource to load. |
| 189 * @return true to prevent the resource from being loaded. |
| 190 */ |
| 191 public boolean shouldBlockMediaRequest(String url) { |
| 192 return false; |
| 193 } |
| 185 } | 194 } |
| OLD | NEW |