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

Unified Diff: services/ui/ws/window_tree.h

Issue 2745143004: Inform window manager about modal windows in mus+ash. (Closed)
Patch Set: . Created 3 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
Index: services/ui/ws/window_tree.h
diff --git a/services/ui/ws/window_tree.h b/services/ui/ws/window_tree.h
index 7bb3106f2b93db999857d127d59c3ce754f77ec5..59274f41ee58dbeb04592c7643106337d027533a 100644
--- a/services/ui/ws/window_tree.h
+++ b/services/ui/ws/window_tree.h
@@ -173,7 +173,7 @@ class WindowTree : public mojom::WindowTree,
bool AddTransientWindow(const ClientWindowId& window_id,
const ClientWindowId& transient_window_id);
bool DeleteWindow(const ClientWindowId& window_id);
- bool SetModalType(const ClientWindowId& window_id, ModalType modal_type);
+ bool SetModalType(ServerWindow* window, ModalType modal_type);
std::vector<const ServerWindow*> GetWindowTree(
const ClientWindowId& window_id) const;
bool SetWindowVisibility(const ClientWindowId& window_id, bool visible);

Powered by Google App Engine
This is Rietveld 408576698