| Index: ui/aura_shell/aura_shell_main.cc
|
| ===================================================================
|
| --- ui/aura_shell/aura_shell_main.cc (revision 101829)
|
| +++ ui/aura_shell/aura_shell_main.cc (working copy)
|
| @@ -8,28 +8,10 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop.h"
|
| #include "ui/aura/desktop.h"
|
| -#include "ui/aura_shell/desktop_layout_manager.h"
|
| #include "ui/aura_shell/shell_factory.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/ui_base_paths.h"
|
|
|
| -namespace aura_shell {
|
| -namespace internal {
|
| -
|
| -void InitDesktopWindow() {
|
| - aura::Window* desktop_window = aura::Desktop::GetInstance()->window();
|
| - DesktopLayoutManager* desktop_layout =
|
| - new DesktopLayoutManager(desktop_window);
|
| - desktop_window->SetLayoutManager(desktop_layout);
|
| -
|
| - desktop_layout->set_background_widget(CreateDesktopBackground());
|
| - desktop_layout->set_launcher_widget(CreateLauncher());
|
| - desktop_layout->set_status_area_widget(CreateStatusArea());
|
| -}
|
| -
|
| -} // namespace internal
|
| -} // namespace aura_shell
|
| -
|
| int main(int argc, char** argv) {
|
| CommandLine::Init(argc, argv);
|
|
|
| @@ -47,7 +29,7 @@
|
| // Create the message-loop here before creating the desktop.
|
| MessageLoop message_loop(MessageLoop::TYPE_UI);
|
|
|
| - aura_shell::internal::InitDesktopWindow();
|
| + aura_shell::InitDesktopWindow();
|
|
|
| aura::Desktop::GetInstance()->Run();
|
|
|
|
|