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

Unified Diff: android_webview/native/aw_web_contents_delegate.cc

Issue 1743143002: Remove WebContents::Was{Hidden,Shown}() from the content public interface Base URL: https://chromium.googlesource.com/chromium/src.git@20160225-WebContents-DicardCursorRects
Patch Set: Fix androido Created 4 years, 10 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: android_webview/native/aw_web_contents_delegate.cc
diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
index 7fbec6f1079f813b981e61671c6b3bc0dd208dbb..cae824a75ade49107cf10cc08976b573df29b94a 100644
--- a/android_webview/native/aw_web_contents_delegate.cc
+++ b/android_webview/native/aw_web_contents_delegate.cc
@@ -151,7 +151,7 @@ void AwWebContentsDelegate::AddNewContents(WebContents* source,
make_scoped_ptr(new_contents));
// Hide the WebContents for the pop up now, we will show it again
// when the user calls us back with an AwContents to use to show it.
- new_contents->WasHidden();
+ new_contents->MarkBackgrounded();
} else {
// The embedder has forgone their chance to display this popup
// window, so we're done with the WebContents now. We use
« no previous file with comments | « no previous file | chrome/browser/engagement/site_engagement_helper_unittest.cc » ('j') | content/public/browser/web_contents.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698