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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_layout_manager.cc

Issue 11369220: Move the desktop aura classes into a desktop subdir to make the gyp simpler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/views/widget/desktop_layout_manager.h" 5 #include "ui/views/widget/desktop_aura/desktop_layout_manager.h"
6 6
7 #include "ui/aura/root_window.h" 7 #include "ui/aura/root_window.h"
8 #include "ui/gfx/rect.h" 8 #include "ui/gfx/rect.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 DesktopLayoutManager::DesktopLayoutManager(aura::RootWindow* root_window) 12 DesktopLayoutManager::DesktopLayoutManager(aura::RootWindow* root_window)
13 : root_window_(root_window), 13 : root_window_(root_window),
14 main_window_(NULL) { 14 main_window_(NULL) {
15 } 15 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 SetChildBoundsDirect(child, requested_bounds); 47 SetChildBoundsDirect(child, requested_bounds);
48 } 48 }
49 49
50 void DesktopLayoutManager::SetMainWindowSize() { 50 void DesktopLayoutManager::SetMainWindowSize() {
51 gfx::Rect bounds; 51 gfx::Rect bounds;
52 bounds.set_size(root_window_->GetHostSize()); 52 bounds.set_size(root_window_->GetHostSize());
53 SetChildBoundsDirect(main_window_, bounds); 53 SetChildBoundsDirect(main_window_, bounds);
54 } 54 }
55 55
56 } // namespace views 56 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_layout_manager.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698