Chromium Code Reviews| Index: chrome/browser/ui/extensions/shell_window.cc |
| diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc |
| index c8972322280c690b89533d289a88bdd82a8dd398..fb5786656a49a920d15b082ed95076135efc35b7 100644 |
| --- a/chrome/browser/ui/extensions/shell_window.cc |
| +++ b/chrome/browser/ui/extensions/shell_window.cc |
| @@ -66,6 +66,11 @@ void ShellWindow::Observe(int type, |
| } |
| void ShellWindow::RenderViewCreated(RenderViewHost* render_view_host) { |
| + // Notify anyone interested that the app has started. |
|
Mihai Parparita -not on Chrome
2012/01/25 19:52:49
We might have non-ShellWindow UIs for platform app
benwells
2012/01/27 04:03:52
Done: just used NOTIFICATION_EXTENSION_HOST_CREATE
|
| + content::NotificationService::current()->Notify( |
| + chrome::NOTIFICATION_PLATFORM_APP_STARTED, |
| + content::Source<Profile>(host_->profile()), |
| + content::Details<const Extension>(host_->extension())); |
| DisableNPAPIPlugins(); |
| } |