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

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: Put notification hook under ifdef's to minimize performance implication on other platforms 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..af65333d9b60235121ef39671cc40af79c7f6eb7 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -59,6 +59,12 @@ void WebContentsViewAndroid::RequestExternalVideoSurface(int player_id) {
content_view_core_->RequestExternalVideoSurface(player_id);
}
+void WebContentsViewAndroid::NotifyGeometryChange(int player_id,
+ gfx::RectF& rect) {
+ if (content_view_core_)
+ content_view_core_->NotifyGeometryChange(player_id, rect);
+}
+
gfx::NativeView WebContentsViewAndroid::GetNativeView() const {
return content_view_core_;
}

Powered by Google App Engine
This is Rietveld 408576698