Index: ui/wm/core/window_util.h |
diff --git a/ui/wm/core/window_util.h b/ui/wm/core/window_util.h |
index eac3879823d3e6c41dad0b1152baf0f80914b72e..b8e7f2b9f2da9c84f3433b464e282f9e4a6655c4 100644 |
--- a/ui/wm/core/window_util.h |
+++ b/ui/wm/core/window_util.h |
@@ -62,6 +62,12 @@ WM_EXPORT std::unique_ptr<ui::LayerTreeOwner> RecreateLayers( |
ui::LayerOwner* root, |
LayerDelegateFactory* delegate_factory); |
+// Returns a layer tree that mirrors |root|. Used for live window previews. |
+WM_EXPORT std::unique_ptr<ui::LayerTreeOwner> MirrorLayers( |
+ ui::LayerOwner* root, |
+ LayerDelegateFactory* delegate_factory, |
+ bool sync_bounds); |
+ |
// Convenience functions that get the TransientWindowManager for the window and |
// redirect appropriately. These are preferable to calling functions on |
// TransientWindowManager as they handle the appropriate NULL checks. |