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

Unified Diff: ash/wm/overview/scoped_window_copy.h

Issue 844763006: Change overview mode to so that docked panel windows are not grouped together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed stale pointer in ScopedTransformOverviewWindow. Created 5 years, 11 months 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 | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/scoped_window_copy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/scoped_window_copy.h
diff --git a/ash/wm/overview/scoped_window_copy.h b/ash/wm/overview/scoped_window_copy.h
deleted file mode 100644
index babc890435f95057dddf67e192f4941071075187..0000000000000000000000000000000000000000
--- a/ash/wm/overview/scoped_window_copy.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2013 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 ASH_WM_OVERVIEW_SCOPED_WINDOW_COPY_H_
-#define ASH_WM_OVERVIEW_SCOPED_WINDOW_COPY_H_
-
-#include "base/basictypes.h"
-
-namespace aura {
-class Window;
-}
-
-namespace views {
-class Widget;
-}
-
-namespace ash {
-
-class CleanupWidgetAfterAnimationObserver;
-
-// ScopedWindowCopy copies a window and will clean up the copied layers after
-// the class goes out of scope and the last animation has finished.
-class ScopedWindowCopy {
- public:
- ScopedWindowCopy(aura::Window* target_root, aura::Window* src_window);
- ~ScopedWindowCopy();
-
- aura::Window* GetWindow();
-
- private:
- // A weak pointer to a copy of the source window owned by cleanup_observer_.
- views::Widget* widget_;
-
- // A weak pointer to an animation observer which owns itself. When the
- // ScopedWindowCopy is destroyed The animation observer will clean up the
- // widget, layer and itself once any pending animations have completed.
- CleanupWidgetAfterAnimationObserver* cleanup_observer_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedWindowCopy);
-};
-
-} // namespace ash
-
-#endif // ASH_WM_OVERVIEW_SCOPED_WINDOW_COPY_H_
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/scoped_window_copy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698