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

Unified Diff: services/ui/ws/server_window.cc

Issue 2710023007: Make WindowTree::SetModal() take the type. (Closed)
Patch Set: more code. 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/server_window.cc
diff --git a/services/ui/ws/server_window.cc b/services/ui/ws/server_window.cc
index b1e6573366f11ca5cf780464a4cf7069c63d7613..09a83fbe4c59b0d60f3067d98bfd1a428066ec92 100644
--- a/services/ui/ws/server_window.cc
+++ b/services/ui/ws/server_window.cc
@@ -276,8 +276,8 @@ void ServerWindow::RemoveTransientWindow(ServerWindow* child) {
observer.OnTransientWindowRemoved(this, child);
}
-void ServerWindow::SetModal() {
- is_modal_ = true;
+void ServerWindow::SetModal(bool is_modal) {
+ is_modal_ = is_modal;
}
bool ServerWindow::Contains(const ServerWindow* window) const {

Powered by Google App Engine
This is Rietveld 408576698