Chromium Code Reviews| Index: content/browser/web_contents/web_contents_view_android.cc |
| diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc |
| index fc024b759f3fe4b20adfd163a61313c32ab038dd..c3bdd8f791a56a40dfaef562112384ddba437e70 100644 |
| --- a/content/browser/web_contents/web_contents_view_android.cc |
| +++ b/content/browser/web_contents/web_contents_view_android.cc |
| @@ -55,10 +55,20 @@ void WebContentsViewAndroid::SetContentViewCore( |
| } |
| #if defined(VIDEO_HOLE) |
| -void WebContentsViewAndroid::NotifyExternalSurface( |
| - int player_id, bool is_request, const gfx::RectF& rect) { |
| +void WebContentsViewAndroid::RequestExternalVideoSurface(int player_id) { |
| if (content_view_core_) |
| - content_view_core_->NotifyExternalSurface(player_id, is_request, rect); |
| + content_view_core_->RequestExternalVideoSurface(player_id); |
| +} |
|
Ted C
2014/02/14 18:32:52
still missing blank lines between the methods.
ycheo (away)
2014/02/18 08:35:56
Removed.
|
| +void WebContentsViewAndroid::ReleaseExternalVideoSurface(int player_id) { |
| + if (content_view_core_) |
| + content_view_core_->ReleaseExternalVideoSurface(player_id); |
| +} |
| +void WebContentsViewAndroid::NotifyExternalVideoSurfacePositionChanged( |
| + int player_id, const gfx::RectF& rect) { |
| + if (content_view_core_) { |
| + content_view_core_->NotifyExternalVideoSurfacePositionChanged(player_id, |
| + rect); |
| + } |
| } |
| #endif // defined(VIDEO_HOLE) |