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

Unified Diff: ash/wm/workspace/workspace.cc

Issue 9033007: Rename the aura_shell namespace to ash (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
Index: ash/wm/workspace/workspace.cc
===================================================================
--- ash/wm/workspace/workspace.cc (revision 115744)
+++ ash/wm/workspace/workspace.cc (working copy)
@@ -31,7 +31,7 @@
// or the current bounds of the window of no animation is currently
// in progress.
gfx::Rect GetLayoutBounds(aura::Window* window) {
- const gfx::Rect* restore_bounds = aura_shell::GetRestoreBounds(window);
+ const gfx::Rect* restore_bounds = ash::GetRestoreBounds(window);
return restore_bounds ? *restore_bounds : window->GetTargetBounds();
}
@@ -43,7 +43,7 @@
} // namespace
-namespace aura_shell {
+namespace ash {
namespace internal {
Workspace::Workspace(WorkspaceManager* manager)
@@ -96,7 +96,7 @@
aura::Window* Workspace::FindRotateWindowForLocation(
const gfx::Point& position) {
- aura::Window* active = aura_shell::GetActiveWindow();
+ aura::Window* active = ash::GetActiveWindow();
if (GetTotalWindowsWidth() < bounds_.width()) {
// If all windows fit to the width of the workspace, it returns the
// window which contains |position|'s x coordinate.
@@ -283,4 +283,4 @@
}
} // namespace internal
-} // namespace aura_shell
+} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698