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

Unified Diff: ui/aura_shell/root_window_event_filter_unittest.cc

Issue 8916020: Second attempt at moving the StackingClient to a property on the 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/window.cc ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/root_window_event_filter_unittest.cc
===================================================================
--- ui/aura_shell/root_window_event_filter_unittest.cc (revision 114527)
+++ ui/aura_shell/root_window_event_filter_unittest.cc (working copy)
@@ -14,7 +14,6 @@
#include "ui/aura/test/test_windows.h"
#include "ui/aura/test/test_event_filter.h"
#include "ui/aura/test/test_window_delegate.h"
-#include "ui/aura/test/test_stacking_client.h"
#include "ui/aura_shell/activation_controller.h"
#include "ui/aura_shell/shell_window_ids.h"
#include "ui/aura_shell/test/test_activation_delegate.h"
@@ -31,14 +30,11 @@
aura::RootWindow::GetInstance()->SetEventFilter(
new internal::RootWindowEventFilter);
- aura::test::TestStackingClient* stacking_client =
- static_cast<aura::test::TestStackingClient*>(
- aura::RootWindow::GetInstance()->stacking_client());
- stacking_client->default_container()->set_id(
+ aura::RootWindow::GetInstance()->set_id(
internal::kShellWindowId_DefaultContainer);
activation_controller_.reset(new internal::ActivationController);
activation_controller_->set_default_container_for_test(
- stacking_client->default_container());
+ aura::RootWindow::GetInstance());
}
virtual ~RootWindowEventFilterTest() {
aura::RootWindow::GetInstance()->SetEventFilter(NULL);
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698