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

Unified Diff: ui/aura/test/test_stacking_client.h

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/test/aura_test_base.cc ('k') | ui/aura/test/test_stacking_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_stacking_client.h
===================================================================
--- ui/aura/test/test_stacking_client.h (revision 114527)
+++ ui/aura/test/test_stacking_client.h (working copy)
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_AURA_TEST_TEST_STACKING_CLIENT_H_
-#define UI_AURA_TEST_TEST_STACKING_CLIENT_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/aura/client/stacking_client.h"
-
-namespace aura {
-class Window;
-
-namespace test {
-
-class TestStackingClient : public StackingClient {
- public:
- // Callers should allocate a TestStackingClient on the heap and then forget
- // about it -- the c'tor passes ownership of the TestStackingClient to the
- // static Desktop object.
- TestStackingClient();
- virtual ~TestStackingClient();
-
- Window* default_container() { return default_container_.get(); }
-
- private:
- // Overridden from StackingClient:
- virtual void AddChildToDefaultParent(Window* window) OVERRIDE;
-
- scoped_ptr<Window> default_container_;
-
- DISALLOW_COPY_AND_ASSIGN(TestStackingClient);
-};
-
-} // namespace test
-} // namespace aura
-
-#endif // UI_AURA_TEST_TEST_STACKING_CLIENT_H_
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/aura/test/test_stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698