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

Unified Diff: ui/aura_shell/shell.cc

Issue 8968022: Shell related switches -> aura shell switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « ui/aura_shell/shadow_controller_unittest.cc ('k') | ui/aura_shell/show_state_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/shell.cc
===================================================================
--- ui/aura_shell/shell.cc (revision 114849)
+++ ui/aura_shell/shell.cc (working copy)
@@ -8,15 +8,12 @@
#include "base/bind.h"
#include "base/command_line.h"
-#include "ui/aura/aura_switches.h"
-#include "ui/aura/client/aura_constants.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/root_window.h"
#include "ui/aura/layout_manager.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_types.h"
#include "ui/aura_shell/activation_controller.h"
#include "ui/aura_shell/app_list.h"
+#include "ui/aura_shell/aura_shell_switches.h"
#include "ui/aura_shell/default_container_event_filter.h"
#include "ui/aura_shell/default_container_layout_manager.h"
#include "ui/aura_shell/root_window_event_filter.h"
@@ -243,12 +240,12 @@
internal::ShelfLayoutManager* shelf_layout_manager =
new internal::ShelfLayoutManager(launcher_->widget(), status_widget);
- GetContainer(aura_shell::internal::kShellWindowId_LauncherContainer)->
+ GetContainer(internal::kShellWindowId_LauncherContainer)->
SetLayoutManager(shelf_layout_manager);
internal::StatusAreaLayoutManager* status_area_layout_manager =
new internal::StatusAreaLayoutManager(shelf_layout_manager);
- GetContainer(aura_shell::internal::kShellWindowId_StatusContainer)->
+ GetContainer(internal::kShellWindowId_StatusContainer)->
SetLayoutManager(status_area_layout_manager);
// Workspace manager has its own layout managers.
@@ -267,7 +264,7 @@
aura::Window* Shell::GetContainer(int container_id) {
return const_cast<aura::Window*>(
- const_cast<const aura_shell::Shell*>(this)->GetContainer(container_id));
+ const_cast<const Shell*>(this)->GetContainer(container_id));
}
const aura::Window* Shell::GetContainer(int container_id) const {
« no previous file with comments | « ui/aura_shell/shadow_controller_unittest.cc ('k') | ui/aura_shell/show_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698