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

Unified Diff: ash/common/wm_window.h

Issue 2157393002: Moves WindowCycleList/Controller to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback and std::move Created 4 years, 5 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/common/wm_shell.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index f1588f307e32b4e75760512278ccc1f62ef56eb7..4f50f227ac0d789b2f4355a05134493ac29467c2 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -32,6 +32,7 @@ class Layer;
}
namespace views {
+class View;
class Widget;
}
@@ -271,6 +272,9 @@ class ASH_EXPORT WmWindow {
// container. This is used by SetBoundsInScreen().
virtual void SetDescendantsStayInSameRootWindow(bool value) = 0;
+ // Returns a View that renders the contents of this window's layers.
+ virtual std::unique_ptr<views::View> CreateViewWithRecreatedLayers() = 0;
+
virtual void AddObserver(WmWindowObserver* observer) = 0;
virtual void RemoveObserver(WmWindowObserver* observer) = 0;
virtual bool HasObserver(const WmWindowObserver* observer) const = 0;
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698