| Index: apps/app_window_contents.cc
|
| diff --git a/apps/app_window_contents.cc b/apps/app_window_contents.cc
|
| index 70d005343778c6c23a1a355ddcdb346fdb03c0b6..08d4f111e3a819a644cfe785a4664cd062d92441 100644
|
| --- a/apps/app_window_contents.cc
|
| +++ b/apps/app_window_contents.cc
|
| @@ -95,6 +95,17 @@ void AppWindowContentsImpl::NativeWindowClosed() {
|
| rvh->Send(new ExtensionMsg_AppWindowClosed(rvh->GetRoutingID()));
|
| }
|
|
|
| +void AppWindowContentsImpl::NativeWindowFirstShown() const {
|
| + base::ListValue args;
|
| + content::RenderViewHost* rvh = web_contents_->GetRenderViewHost();
|
| + rvh->Send(new ExtensionMsg_MessageInvoke(rvh->GetRoutingID(),
|
| + host_->extension_id(),
|
| + "app.window",
|
| + "appWindowFirstShown",
|
| + args,
|
| + false));
|
| +}
|
| +
|
| content::WebContents* AppWindowContentsImpl::GetWebContents() const {
|
| return web_contents_.get();
|
| }
|
|
|