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

Unified Diff: ui/aura/test/aura_test_base.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/screen_aura.cc ('k') | ui/aura/test/event_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.cc
===================================================================
--- ui/aura/test/aura_test_base.cc (revision 113260)
+++ ui/aura/test/aura_test_base.cc (working copy)
@@ -8,7 +8,7 @@
#include <ole2.h>
#endif
-#include "ui/aura/desktop.h"
+#include "ui/aura/root_window.h"
#include "ui/aura/test/test_stacking_client.h"
namespace aura {
@@ -21,10 +21,10 @@
OleInitialize(NULL);
#endif
- // TestStackingClient is owned by the desktop.
+ // TestStackingClient is owned by the root window.
new TestStackingClient();
- Desktop::GetInstance()->Show();
- Desktop::GetInstance()->SetHostSize(gfx::Size(600, 600));
+ RootWindow::GetInstance()->Show();
+ RootWindow::GetInstance()->SetHostSize(gfx::Size(600, 600));
}
AuraTestBase::~AuraTestBase() {
@@ -40,14 +40,14 @@
// and these tasks if un-executed would upset Valgrind.
RunAllPendingInMessageLoop();
- // Ensure that we don't use the previously-allocated static Desktop object
+ // Ensure that we don't use the previously-allocated static RootWindow object
// later -- on Linux, it holds a reference to our message loop's X connection.
- aura::Desktop::DeleteInstance();
+ aura::RootWindow::DeleteInstance();
}
TestStackingClient* AuraTestBase::GetTestStackingClient() {
return static_cast<TestStackingClient*>(
- aura::Desktop::GetInstance()->stacking_client());
+ aura::RootWindow::GetInstance()->stacking_client());
}
void AuraTestBase::SetUp() {
@@ -62,7 +62,7 @@
void AuraTestBase::RunAllPendingInMessageLoop() {
message_loop_.RunAllPendingWithDispatcher(
- Desktop::GetInstance()->GetDispatcher());
+ RootWindow::GetInstance()->GetDispatcher());
}
} // namespace test
« no previous file with comments | « ui/aura/screen_aura.cc ('k') | ui/aura/test/event_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698