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

Unified Diff: ui/aura/mus/window_manager_delegate.h

Issue 2759643003: Add system modals to the proper container in mus+ash. (Closed)
Patch Set: addressed 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/window_server_test_base.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_manager_delegate.h
diff --git a/ui/aura/mus/window_manager_delegate.h b/ui/aura/mus/window_manager_delegate.h
index 447a7a028ad2be017c7ba30d2e283d789fb62173..f07d4644898f3d757d9417cc0f51df964ff92b7c 100644
--- a/ui/aura/mus/window_manager_delegate.h
+++ b/ui/aura/mus/window_manager_delegate.h
@@ -91,6 +91,9 @@ class AURA_EXPORT WindowManagerDelegate {
const std::string& name,
std::unique_ptr<std::vector<uint8_t>>* new_data) = 0;
+ // A client requested the modal type to be changed to |type|.
+ virtual void OnWmSetModalType(Window* window, ui::ModalType type) = 0;
+
// A client requested to change focusibility of |window|. We currently assume
// this always succeeds.
virtual void OnWmSetCanFocus(Window* window, bool can_focus) = 0;
« no previous file with comments | « services/ui/ws/window_server_test_base.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698