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

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

Issue 14018004: [Android] Refactor NativeView to be able to use it for AutofillDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 6409b3f5e1da306be4f02e215c91f3e5a8b2b176..cbfcf47f6ce499f44e6169d8cc738a66edf443d0 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -68,11 +68,11 @@ void WebContentsViewAndroid::NotifyGeometryChange(int player_id,
#endif
gfx::NativeView WebContentsViewAndroid::GetNativeView() const {
- return content_view_core_;
+ return content_view_core_->GetViewAndroid();
}
gfx::NativeView WebContentsViewAndroid::GetContentNativeView() const {
- return content_view_core_;
+ return content_view_core_->GetViewAndroid();
}
gfx::NativeWindow WebContentsViewAndroid::GetTopLevelNativeWindow() const {

Powered by Google App Engine
This is Rietveld 408576698