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

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

Issue 2710023007: Make WindowTree::SetModal() take the type. (Closed)
Patch Set: address feedback. 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
« no previous file with comments | « services/ui/ws/modal_window_controller.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window.h
diff --git a/services/ui/ws/server_window.h b/services/ui/ws/server_window.h
index c600aa734013bc83c05e72c34cfa6bc0840da915..135c330a0791af1318029d3f83b4222715d96488 100644
--- a/services/ui/ws/server_window.h
+++ b/services/ui/ws/server_window.h
@@ -131,8 +131,8 @@ class ServerWindow {
const Windows& transient_children() const { return transient_children_; }
- bool is_modal() const { return is_modal_; }
- void SetModal();
+ ModalType modal_type() const { return modal_type_; }
+ void SetModalType(ModalType modal_type);
// Returns true if this contains |window| or is |window|.
bool Contains(const ServerWindow* window) const;
@@ -237,7 +237,7 @@ class ServerWindow {
ServerWindow* transient_parent_;
Windows transient_children_;
- bool is_modal_;
+ ModalType modal_type_;
bool visible_;
gfx::Rect bounds_;
gfx::Insets client_area_;
« no previous file with comments | « services/ui/ws/modal_window_controller.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698