Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4759)

Unified Diff: chrome/browser/chrome_browser_main_extra_parts_aura.cc

Issue 8461017: More surgery to remove views desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments (move listener to ui/views/aura) Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_touch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_extra_parts_aura.cc
diff --git a/chrome/browser/chrome_browser_main_extra_parts_aura.cc b/chrome/browser/chrome_browser_main_extra_parts_aura.cc
index ea5214f114c8178cc806b6695e65fff237d9af85..d79867a5e4a1f9a404320448e498d34c56df9efb 100644
--- a/chrome/browser/chrome_browser_main_extra_parts_aura.cc
+++ b/chrome/browser/chrome_browser_main_extra_parts_aura.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/chrome_browser_main_extra_parts_aura.h"
#include "chrome/browser/ui/views/aura/chrome_shell_delegate.h"
+#include "chrome/browser/ui/views/aura/screen_orientation_listener.h"
#include "ui/aura/desktop.h"
#include "ui/aura_shell/shell.h"
@@ -23,4 +24,7 @@ void ChromeBrowserMainExtraPartsAura::PostBrowserProcessInit() {
// Shell takes ownership of ChromeShellDelegate.
aura_shell::Shell::CreateInstance(new ChromeShellDelegate);
+
+ // Make sure the singleton ScreenOrientationListener object is created.
+ ScreenOrientationListener::GetInstance();
}
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_touch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698