Index: services/ui/ws/window_tree.h |
diff --git a/services/ui/ws/window_tree.h b/services/ui/ws/window_tree.h |
index 6fc0a9667b579556948df487d0d4d49257b1f4bc..63da72ffc7945b845e4023af52690666f94364f4 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 SetModal(const ClientWindowId& window_id); |
+ bool SetModalType(const ClientWindowId& window_id, ModalType modal_type); |
std::vector<const ServerWindow*> GetWindowTree( |
const ClientWindowId& window_id) const; |
bool SetWindowVisibility(const ClientWindowId& window_id, bool visible); |
@@ -389,7 +389,7 @@ class WindowTree : public mojom::WindowTree, |
Id transient_window) override; |
void RemoveTransientWindowFromParent(uint32_t change_id, |
Id transient_window_id) override; |
- void SetModal(uint32_t change_id, Id window_id) override; |
+ void SetModalType(uint32_t change_id, Id window_id, ModalType type) override; |
void ReorderWindow(uint32_t change_Id, |
Id window_id, |
Id relative_window_id, |