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

Side by Side Diff: ash/shell.cc

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/shell.h" 5 #include "ash/shell.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/accelerators/accelerator_controller.h" 9 #include "ash/accelerators/accelerator_controller.h"
10 #include "ash/accelerators/accelerator_filter.h" 10 #include "ash/accelerators/accelerator_filter.h"
(...skipping 25 matching lines...) Expand all
36 #include "ui/aura/root_window.h" 36 #include "ui/aura/root_window.h"
37 #include "ui/aura/layout_manager.h" 37 #include "ui/aura/layout_manager.h"
38 #include "ui/aura/window.h" 38 #include "ui/aura/window.h"
39 #include "ui/gfx/compositor/layer.h" 39 #include "ui/gfx/compositor/layer.h"
40 #include "ui/gfx/compositor/layer_animator.h" 40 #include "ui/gfx/compositor/layer_animator.h"
41 #include "ui/gfx/screen.h" 41 #include "ui/gfx/screen.h"
42 #include "ui/gfx/size.h" 42 #include "ui/gfx/size.h"
43 #include "ui/views/widget/native_widget_aura.h" 43 #include "ui/views/widget/native_widget_aura.h"
44 #include "ui/views/widget/widget.h" 44 #include "ui/views/widget/widget.h"
45 45
46 namespace aura_shell { 46 namespace ash {
47 47
48 namespace { 48 namespace {
49 49
50 using views::Widget; 50 using views::Widget;
51 51
52 // Screen width at or below which we automatically start in compact window mode, 52 // Screen width at or below which we automatically start in compact window mode,
53 // in pixels. Should be at least 1366 pixels, the resolution of ChromeOS ZGB 53 // in pixels. Should be at least 1366 pixels, the resolution of ChromeOS ZGB
54 // device displays, as we traditionally used a single window on those devices. 54 // device displays, as we traditionally used a single window on those devices.
55 const int kCompactWindowModeWidthThreshold = 1366; 55 const int kCompactWindowModeWidthThreshold = 1366;
56 56
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 workspace_controller_.reset( 359 workspace_controller_.reset(
360 new internal::WorkspaceController(default_container)); 360 new internal::WorkspaceController(default_container));
361 workspace_controller_->SetLauncherModel(launcher_->model()); 361 workspace_controller_->SetLauncherModel(launcher_->model());
362 default_container->SetEventFilter( 362 default_container->SetEventFilter(
363 new internal::DefaultContainerEventFilter(default_container)); 363 new internal::DefaultContainerEventFilter(default_container));
364 default_container->SetLayoutManager( 364 default_container->SetLayoutManager(
365 new internal::DefaultContainerLayoutManager( 365 new internal::DefaultContainerLayoutManager(
366 workspace_controller_->workspace_manager())); 366 workspace_controller_->workspace_manager()));
367 } 367 }
368 368
369 } // namespace aura_shell 369 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698