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

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

Issue 2710023007: Make WindowTree::SetModal() take the type. (Closed)
Patch Set: Fix compile error. Created 3 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: services/ui/ws/window_tree.h
diff --git a/services/ui/ws/window_tree.h b/services/ui/ws/window_tree.h
index 6fc0a9667b579556948df487d0d4d49257b1f4bc..ae4e9857cd4d00eec68935acea11ed66866bc5f1 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 SetModal(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 SetModal(uint32_t change_id, Id window_id, ModalType type) override;
void ReorderWindow(uint32_t change_Id,
Id window_id,
Id relative_window_id,

Powered by Google App Engine
This is Rietveld 408576698