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

Unified Diff: ash/wm/shadow_controller_unittest.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/shadow_controller_unittest.cc
===================================================================
--- ash/wm/shadow_controller_unittest.cc (revision 115744)
+++ ash/wm/shadow_controller_unittest.cc (working copy)
@@ -17,10 +17,10 @@
#include "ui/aura/window.h"
#include "ui/gfx/compositor/layer.h"
-namespace aura_shell {
+namespace ash {
namespace test {
-typedef aura_shell::test::AuraShellTestBase ShadowControllerTest;
+typedef ash::test::AuraShellTestBase ShadowControllerTest;
// Tests that various methods in Window update the Shadow object as expected.
TEST_F(ShadowControllerTest, Shadow) {
@@ -32,7 +32,7 @@
// We should create the shadow before the window is visible (the shadow's
// layer won't get drawn yet since it's a child of the window's layer).
internal::ShadowController::TestApi api(
- aura_shell::Shell::GetInstance()->shadow_controller());
+ ash::Shell::GetInstance()->shadow_controller());
const internal::Shadow* shadow = api.GetShadowForWindow(window.get());
ASSERT_TRUE(shadow != NULL);
EXPECT_TRUE(shadow->layer()->visible());
@@ -74,7 +74,7 @@
// remain at the origin, since it's a child of the window's layer).
internal::SetShadowType(window.get(), internal::SHADOW_TYPE_RECTANGULAR);
internal::ShadowController::TestApi api(
- aura_shell::Shell::GetInstance()->shadow_controller());
+ ash::Shell::GetInstance()->shadow_controller());
const internal::Shadow* shadow = api.GetShadowForWindow(window.get());
ASSERT_TRUE(shadow != NULL);
EXPECT_EQ(gfx::Rect(kOldBounds.size()).ToString(),
@@ -88,4 +88,4 @@
}
} // namespace test
-} // namespace aura_shell
+} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698