Chromium Code Reviews
DescriptionRemove WebContents::Was{Hidden,Shown}() from the content public interface
The WebContentsView typically knows best when this should be invoked.
Excluding tests, Mac's TabStripController is currently the only place in
Chrome that invokes WebContents::WasShown().
Tests use WasShown() and WasHidden() in simulations, so provide access
for tests via content::WebContentsTester.
Then, WebContents::WasHidden() otherwise seems to be misused by Chrome
code, to move newly-created WebContents to a kind of "background" state.
WebContents::CreateParams::initially_hidden should be used for this
instead.
BUG=590981
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Patch Set 1 #Patch Set 2 : Fix androido #
Total comments: 2
Depends on Patchset: Messages
Total messages: 8 (4 generated)
|