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

Unified Diff: mash/wm/property_util.h

Issue 1848653006: Random wm frame painting fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 4 years, 9 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 | « 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 4e75b971e91dd978a01b3c9a40b1d1463e644a72..ee5a56cbc6c0f3ebadd4086dd1e1a35fce5ffe4d 100644
--- a/mash/wm/property_util.h
+++ b/mash/wm/property_util.h
@@ -26,6 +26,7 @@ class Shadow;
// Utility functions to read values from properties & convert them to the
// appropriate types.
+void SetWindowShowState(mus::Window* window, mus::mojom::ShowState show_state);
mus::mojom::ShowState GetWindowShowState(const mus::Window* window);
void SetWindowUserSetBounds(mus::Window* window, const gfx::Rect& bounds);
@@ -44,12 +45,14 @@ 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);
+Shadow* GetShadow(const mus::Window* window);
-mus::mojom::WindowType GetWindowType(mus::Window* window);
+mus::mojom::WindowType GetWindowType(const mus::Window* window);
mus::mojom::WindowType GetWindowType(
const mus::Window::SharedProperties& window);
+base::string16 GetWindowTitle(const 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