Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
| index bfdda50f69c982a5208572a106e7b34157cfed2d..9f89d3b443310d6f16c6c9b70ecf359c903d2c19 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -1311,6 +1311,8 @@ void WebContentsImpl::WasShown() { |
| } |
| } |
| + SendPageMessage(new PageMsg_WasShown(MSG_ROUTING_NONE)); |
|
Charlie Reis
2016/06/06 23:15:09
Is the order of this method important? It looks a
lfg
2016/06/08 20:00:22
The order is not important right now (and I don't
|
| + |
| last_active_time_ = base::TimeTicks::Now(); |
| // The resize rect might have changed while this was inactive -- send the new |
| @@ -1340,6 +1342,8 @@ void WebContentsImpl::WasHidden() { |
| if (view) |
| view->Hide(); |
| } |
| + |
| + SendPageMessage(new PageMsg_WasHidden(MSG_ROUTING_NONE)); |
| } |
| FOR_EACH_OBSERVER(WebContentsObserver, observers_, WasHidden()); |