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

Unified Diff: mash/wm/property_util.h

Issue 1492323003: Updates shadow when active window changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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 | « mash/wm/non_client_frame_controller.cc ('k') | mash/wm/property_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/property_util.h
diff --git a/mash/wm/property_util.h b/mash/wm/property_util.h
index 104e870b0e8d1ff18828ecd018b6311bd42b436c..4e7616b243057e3245e008197fdaf307046499a5 100644
--- a/mash/wm/property_util.h
+++ b/mash/wm/property_util.h
@@ -21,6 +21,8 @@ class Window;
namespace mash {
namespace wm {
+class Shadow;
+
// Utility functions to read values from properties & convert them to the
// appropriate types.
@@ -39,6 +41,9 @@ mus::mojom::ResizeBehavior GetResizeBehavior(const mus::Window* window);
void SetRestoreBounds(mus::Window* window, const gfx::Rect& bounds);
gfx::Rect GetRestoreBounds(const mus::Window* window);
+void SetShadow(mus::Window* window, Shadow* shadow);
+Shadow* GetShadow(mus::Window* window);
+
} // namespace wm
} // namespace mash
« no previous file with comments | « mash/wm/non_client_frame_controller.cc ('k') | mash/wm/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698