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

Unified Diff: ui/aura_shell/workspace/workspace_manager_unittest.cc

Issue 8926004: Revert 114095 - Move the concept of Activation to the Shell. (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/workspace/workspace.cc ('k') | ui/aura_shell/workspace_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/workspace/workspace_manager_unittest.cc
===================================================================
--- ui/aura_shell/workspace/workspace_manager_unittest.cc (revision 114099)
+++ ui/aura_shell/workspace/workspace_manager_unittest.cc (working copy)
@@ -10,8 +10,6 @@
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/test_stacking_client.h"
#include "ui/aura/window.h"
-#include "ui/aura_shell/activation_controller.h"
-#include "ui/aura_shell/shell_window_ids.h"
#include "ui/aura_shell/workspace/workspace.h"
#include "ui/aura_shell/workspace/workspace_observer.h"
#include "ui/base/ui_base_types.h"
@@ -79,16 +77,7 @@
class WorkspaceManagerTestBase : public aura::test::AuraTestBase {
public:
- WorkspaceManagerTestBase() {
- aura::test::TestStackingClient* stacking_client =
- static_cast<aura::test::TestStackingClient*>(
- aura::RootWindow::GetInstance()->stacking_client());
- stacking_client->default_container()->set_id(
- internal::kShellWindowId_DefaultContainer);
- activation_controller_.reset(new internal::ActivationController);
- activation_controller_->set_default_container_for_test(
- stacking_client->default_container());
- }
+ WorkspaceManagerTestBase() {}
virtual ~WorkspaceManagerTestBase() {}
virtual void SetUp() OVERRIDE {
@@ -113,8 +102,6 @@
scoped_ptr<WorkspaceManager> manager_;
private:
- scoped_ptr<internal::ActivationController> activation_controller_;
-
DISALLOW_COPY_AND_ASSIGN(WorkspaceManagerTestBase);
};
Property changes on: ui\aura_shell\workspace\workspace_manager_unittest.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « ui/aura_shell/workspace/workspace.cc ('k') | ui/aura_shell/workspace_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698