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

Unified Diff: ui/aura_shell/root_window_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/root_window_layout_manager.h ('k') | ui/aura_shell/shadow_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/root_window_layout_manager.cc
===================================================================
--- ui/aura_shell/root_window_layout_manager.cc (revision 113260)
+++ ui/aura_shell/root_window_layout_manager.cc (working copy)
@@ -2,7 +2,7 @@
// 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_shell/root_window_layout_manager.h"
#include "ui/aura/window.h"
#include "ui/views/widget/widget.h"
@@ -11,20 +11,20 @@
namespace internal {
////////////////////////////////////////////////////////////////////////////////
-// DesktopLayoutManager, public:
+// RootWindowLayoutManager, public:
-DesktopLayoutManager::DesktopLayoutManager(aura::Window* owner)
+RootWindowLayoutManager::RootWindowLayoutManager(aura::Window* owner)
: owner_(owner),
background_widget_(NULL) {
}
-DesktopLayoutManager::~DesktopLayoutManager() {
+RootWindowLayoutManager::~RootWindowLayoutManager() {
}
////////////////////////////////////////////////////////////////////////////////
-// DesktopLayoutManager, aura::LayoutManager implementation:
+// RootWindowLayoutManager, aura::LayoutManager implementation:
-void DesktopLayoutManager::OnWindowResized() {
+void RootWindowLayoutManager::OnWindowResized() {
gfx::Rect fullscreen_bounds =
gfx::Rect(owner_->bounds().width(), owner_->bounds().height());
@@ -35,18 +35,21 @@
background_widget_->SetBounds(fullscreen_bounds);
}
-void DesktopLayoutManager::OnWindowAddedToLayout(aura::Window* child) {
+void RootWindowLayoutManager::OnWindowAddedToLayout(aura::Window* child) {
}
-void DesktopLayoutManager::OnWillRemoveWindowFromLayout(aura::Window* child) {
+void RootWindowLayoutManager::OnWillRemoveWindowFromLayout(
+ aura::Window* child) {
}
-void DesktopLayoutManager::OnChildWindowVisibilityChanged(aura::Window* child,
- bool visible) {
+void RootWindowLayoutManager::OnChildWindowVisibilityChanged(
+ aura::Window* child,
+ bool visible) {
}
-void DesktopLayoutManager::SetChildBounds(aura::Window* child,
- const gfx::Rect& requested_bounds) {
+void RootWindowLayoutManager::SetChildBounds(
+ aura::Window* child,
+ const gfx::Rect& requested_bounds) {
SetChildBoundsDirect(child, requested_bounds);
}
« no previous file with comments | « ui/aura_shell/root_window_layout_manager.h ('k') | ui/aura_shell/shadow_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698