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

Unified Diff: content/browser/web_contents/web_contents_view_android.cc

Issue 13688004: Location/size change notification when external rendering is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase & added a missing ifdef guard Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
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 28ce3041ca191d2bcf2e58c9b8b525cc9e143740..01640ae22012a76b75120e185bc58b0e014fe403 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -54,11 +54,19 @@ void WebContentsViewAndroid::SetContentViewCore(
}
}
+#if defined(GOOGLE_TV)
void WebContentsViewAndroid::RequestExternalVideoSurface(int player_id) {
if (content_view_core_)
content_view_core_->RequestExternalVideoSurface(player_id);
}
+void WebContentsViewAndroid::NotifyGeometryChange(int player_id,
+ const gfx::RectF& rect) {
+ if (content_view_core_)
+ content_view_core_->NotifyGeometryChange(player_id, rect);
+}
+#endif
+
gfx::NativeView WebContentsViewAndroid::GetNativeView() const {
return content_view_core_;
}
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.h ('k') | content/common/media/media_player_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698