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

Side by Side Diff: ui/aura_shell/default_container_layout_manager.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura_shell/app_list.h ('k') | ui/aura_shell/default_container_layout_manager_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/aura_shell/default_container_layout_manager.h" 5 #include "ui/aura_shell/default_container_layout_manager.h"
6 6
7 #include "ui/aura/client/aura_constants.h" 7 #include "ui/aura/client/aura_constants.h"
8 #include "ui/aura/desktop.h" 8 #include "ui/aura/desktop.h"
9 #include "ui/aura/event.h" 9 #include "ui/aura/event.h"
10 #include "ui/aura/screen_aura.h"
10 #include "ui/aura/window.h" 11 #include "ui/aura/window.h"
11 #include "ui/aura/screen_aura.h" 12 #include "ui/aura/window_observer.h"
12 #include "ui/aura/window_types.h" 13 #include "ui/aura/window_types.h"
13 #include "ui/aura/window_observer.h"
14 #include "ui/aura_shell/property_util.h" 14 #include "ui/aura_shell/property_util.h"
15 #include "ui/aura_shell/show_state_controller.h" 15 #include "ui/aura_shell/show_state_controller.h"
16 #include "ui/aura_shell/workspace/workspace.h" 16 #include "ui/aura_shell/workspace/workspace.h"
17 #include "ui/aura_shell/workspace/workspace_manager.h" 17 #include "ui/aura_shell/workspace/workspace_manager.h"
18 #include "ui/base/ui_base_types.h" 18 #include "ui/base/ui_base_types.h"
19 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
20 #include "views/widget/native_widget_aura.h" 20 #include "ui/views/widget/native_widget_aura.h"
21 21
22 namespace aura_shell { 22 namespace aura_shell {
23 namespace internal { 23 namespace internal {
24 24
25 //////////////////////////////////////////////////////////////////////////////// 25 ////////////////////////////////////////////////////////////////////////////////
26 // DefaultContainerLayoutManager, public: 26 // DefaultContainerLayoutManager, public:
27 27
28 DefaultContainerLayoutManager::DefaultContainerLayoutManager( 28 DefaultContainerLayoutManager::DefaultContainerLayoutManager(
29 WorkspaceManager* workspace_manager) 29 WorkspaceManager* workspace_manager)
30 : workspace_manager_(workspace_manager), 30 : workspace_manager_(workspace_manager),
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 adjusted_bounds = workspace->bounds(); 179 adjusted_bounds = workspace->bounds();
180 // Don't 180 // Don't
181 if (child->GetTargetBounds() == adjusted_bounds) 181 if (child->GetTargetBounds() == adjusted_bounds)
182 return; 182 return;
183 } 183 }
184 SetChildBoundsDirect(child, adjusted_bounds); 184 SetChildBoundsDirect(child, adjusted_bounds);
185 } 185 }
186 186
187 } // namespace internal 187 } // namespace internal
188 } // namespace aura_shell 188 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ui/aura_shell/app_list.h ('k') | ui/aura_shell/default_container_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698