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

Unified Diff: ui/aura_shell/desktop_layout_manager.cc

Issue 8771015: Rename Desktop->RootWindow. (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/desktop_layout_manager.h ('k') | ui/aura_shell/drag_drop_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/desktop_layout_manager.cc
===================================================================
--- ui/aura_shell/desktop_layout_manager.cc (revision 113260)
+++ ui/aura_shell/desktop_layout_manager.cc (working copy)
@@ -1,54 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/aura_shell/desktop_layout_manager.h"
-
-#include "ui/aura/window.h"
-#include "ui/views/widget/widget.h"
-
-namespace aura_shell {
-namespace internal {
-
-////////////////////////////////////////////////////////////////////////////////
-// DesktopLayoutManager, public:
-
-DesktopLayoutManager::DesktopLayoutManager(aura::Window* owner)
- : owner_(owner),
- background_widget_(NULL) {
-}
-
-DesktopLayoutManager::~DesktopLayoutManager() {
-}
-
-////////////////////////////////////////////////////////////////////////////////
-// DesktopLayoutManager, aura::LayoutManager implementation:
-
-void DesktopLayoutManager::OnWindowResized() {
- gfx::Rect fullscreen_bounds =
- gfx::Rect(owner_->bounds().width(), owner_->bounds().height());
-
- aura::Window::Windows::const_iterator i;
- for (i = owner_->children().begin(); i != owner_->children().end(); ++i)
- (*i)->SetBounds(fullscreen_bounds);
-
- background_widget_->SetBounds(fullscreen_bounds);
-}
-
-void DesktopLayoutManager::OnWindowAddedToLayout(aura::Window* child) {
-}
-
-void DesktopLayoutManager::OnWillRemoveWindowFromLayout(aura::Window* child) {
-}
-
-void DesktopLayoutManager::OnChildWindowVisibilityChanged(aura::Window* child,
- bool visible) {
-}
-
-void DesktopLayoutManager::SetChildBounds(aura::Window* child,
- const gfx::Rect& requested_bounds) {
- SetChildBoundsDirect(child, requested_bounds);
-}
-
-} // namespace internal
-} // namespace aura_shell
« no previous file with comments | « ui/aura_shell/desktop_layout_manager.h ('k') | ui/aura_shell/drag_drop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698