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

Unified Diff: components/mus/ws/window_tree_impl.h

Issue 1759523002: mus: Server-side implementation of modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: components/mus/ws/window_tree_impl.h
diff --git a/components/mus/ws/window_tree_impl.h b/components/mus/ws/window_tree_impl.h
index 604cf221dd36f066a8df72709c1142de01d5a3d7..56d0589f9eed4f0938fb38f52f13cfc1a8099ad3 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -111,6 +111,7 @@ class WindowTreeImpl : public mojom::WindowTree,
const ClientWindowId& child_id);
bool AddTransientWindow(const ClientWindowId& window_id,
const ClientWindowId& transient_window_id);
+ bool SetAsModal(const ClientWindowId& window_id);
std::vector<const ServerWindow*> GetWindowTree(
const ClientWindowId& window_id) const;
bool SetWindowVisibility(const ClientWindowId& window_id, bool visible);
@@ -290,6 +291,7 @@ class WindowTreeImpl : public mojom::WindowTree,
Id transient_window) override;
void RemoveTransientWindowFromParent(uint32_t change_id,
Id transient_window_id) override;
+ void SetAsModal(uint32_t change_id, Id window_id) override;
void ReorderWindow(uint32_t change_Id,
Id window_id,
Id relative_window_id,

Powered by Google App Engine
This is Rietveld 408576698