Move full screen/idle detection out of NotificationUIManagerImpl

There are other places in the code other than NotificationUIManagerImpl
that use these global services, so we should move the initialization out
of the notifications code to avoid hiding these dependencies.

BUG=155422


Review URL: https://chromiumcodereview.appspot.com/12086051

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179763 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index db96a1d..a33776b 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -34,6 +34,7 @@
 #include "chrome/browser/first_run/upgrade_util.h"
 #include "chrome/browser/gpu/gl_string_manager.h"
 #include "chrome/browser/icon_manager.h"
+#include "chrome/browser/idle.h"
 #include "chrome/browser/intranet_redirect_detector.h"
 #include "chrome/browser/io_thread.h"
 #include "chrome/browser/lifetime/application_lifetime.h"
@@ -182,6 +183,10 @@
   ChildProcessSecurityPolicy::GetInstance()->RegisterWebSafeScheme(
       chrome::kExtensionResourceScheme);
 
+#if defined(OS_MACOSX)
+  InitIdleMonitor();
+#endif
+
   extension_event_router_forwarder_ = new extensions::EventRouterForwarder;
 
   ExtensionRendererState::GetInstance()->Init();