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

Unified Diff: athena/main/athena_launcher.cc

Issue 431183003: Rotate screen in response to accelerator or device orientation sensors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dependencies on ipc and content. Created 6 years, 4 months 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
Index: athena/main/athena_launcher.cc
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc
index 04b55a77f2981ad82955f8b15ebdfe329f1622e3..fdfbfe9f0de27b0c497ad5f84de6d7b57ec2e593 100644
--- a/athena/main/athena_launcher.cc
+++ b/athena/main/athena_launcher.cc
@@ -13,6 +13,7 @@
#include "athena/system/public/system_ui.h"
#include "athena/wm/public/window_manager.h"
#include "base/memory/scoped_ptr.h"
+#include "content/public/browser/browser_thread.h"
#include "ui/aura/window_property.h"
#include "ui/views/views_delegate.h"
#include "ui/wm/core/visibility_controller.h"
@@ -69,7 +70,9 @@ void StartAthena(aura::Window* root_window,
aura::client::SetVisibilityClient(root_window,
root_window_state->visibility_client.get());
- athena::SystemUI::Create();
+ athena::SystemUI::Create(
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::FILE));
athena::InputManager::Create()->OnRootWindowCreated(root_window);
athena::ScreenManager::Create(root_window);
athena::WindowManager::Create();

Powered by Google App Engine
This is Rietveld 408576698