Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / ash / first_run / desktop_cleaner.h
blobc3077b42c2f60fba35b70436abaccc9b1750fc38
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_FIRST_RUN_DESKTOP_CLEANER_
6 #define ASH_FIRST_RUN_DESKTOP_CLEANER_
8 #include <vector>
10 #include "ash/ash_export.h"
11 #include "base/basictypes.h"
12 #include "base/memory/linked_ptr.h"
13 #include "base/memory/scoped_ptr.h"
15 namespace ash {
17 namespace test {
18 class FirstRunHelperTest;
21 namespace internal {
23 class ContainerHider;
24 class NotificationBlocker;
26 // Class used to "clean" ash desktop, i.e. hide all windows and notifications.
27 class ASH_EXPORT DesktopCleaner {
28 public:
29 DesktopCleaner();
30 ~DesktopCleaner();
32 private:
33 // Returns the list of containers that DesctopCleaner hides.
34 static std::vector<int> GetContainersToHideForTest();
36 std::vector<linked_ptr<ContainerHider> > container_hiders_;
37 scoped_ptr<NotificationBlocker> notification_blocker_;
39 friend class ash::test::FirstRunHelperTest;
40 DISALLOW_COPY_AND_ASSIGN(DesktopCleaner);
43 } // namespace internal
44 } // namespace ash
46 #endif // ASH_FIRST_RUN_DESKTOP_CLEANER_