Index: chrome/browser/browser_init.cc |
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc |
index c1ab3a9fd2d19b4fae78318f03c6e96e12797b74..228f092c8f017ea0db5ea5870ebfdbab12d6b9b1 100644 |
--- a/chrome/browser/browser_init.cc |
+++ b/chrome/browser/browser_init.cc |
@@ -403,6 +403,10 @@ bool BrowserInit::LaunchBrowser(const CommandLine& command_line, |
// of what window has focus. |
chromeos::WmMessageListener::instance(); |
+ // Create the SystemKeyEventListener so it can listen for system keyboard |
+ // messages regardless of focus. |
+ chromeos::SystemKeyEventListener::instance(); |
+ |
// Create the WmOverviewController so it can register with the listener. |
chromeos::WmOverviewController::instance(); |
@@ -441,10 +445,6 @@ bool BrowserInit::LaunchBrowser(const CommandLine& command_line, |
chromeos::CrosLibrary::Get()->GetNetworkLibrary()->AddObserver( |
chromeos::NetworkStateNotifier::Get()); |
- |
- // Creates the SystemKeyEventListener to listen for keypress messages |
- // regardless of what window has focus. |
- chromeos::SystemKeyEventListener::instance(); |
} |
#endif |
return true; |